Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8292675

Add identity transformation for removing redundant AndV/OrV nodes

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 20
    • 20
    • hotspot
    • b15

    Description

      Add identity transformation for removing redundant AndV/OrV nodes "And" and "Or" logical operations are idempotent.

      Hence, a sequence containing and/or operations with the same value multiple times like this

      - op(op(a, b), b) can be reduced to op(a, b), where op = and/or.

      Attachments

        Issue Links

          Activity

            People

              bkilambi Bhavana Kilambi
              smonteith Stuart Monteith
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: