C2: BoolNode::Value_cmpu_and_mask() should look through cast nodes

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 27
    • Component/s: hotspot

      In the process of testing JDK-8354282, we noticed that BoolNode::Value_cmpu_and_mask() does not look through cast nodes. Even though it is quite an edge case, we should update BoolNode::Value_cmpu_and_mask() to look through cast nodes.

      We split this to a separate RFE since we are currently already in RDP 1 for JDK 26 and JDK-8354282 needs to be backported.

      I attached an IR test that works before JDK-8354282 but fails afterwards. No additional flags required.

            Assignee:
            Roland Westrelin
            Reporter:
            Christian Hagedorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: