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

C2: XOR bounded value handling blocks constant folding

XMLWordPrintable

      JDK-8267332 adds an optimization that adds boundaries for XOR results in XorI/LNode::Value, but that optimization take precedence over the constant folding path in AddNode::Value.

      I (liach) think the problem traces back to JDK-8261008 which adds Xor optimization as XorI/LNode::Value instead of XorI/LNode::add_ring. The override to ::Value should be removed and all optimizations should happen in add_ring.

            Unassigned Unassigned
            liach Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: