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

Add identity transformation for removing redundant AndV/OrV nodes

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: