[jdk18u] RFR: 8286283: assert(func2 == 0 && func3 == 0) failed: not unary

Jatin Bhateja jbhateja at openjdk.java.net
Fri May 6 11:37:29 UTC 2022


Issue relates to incorrect conditional check based on input edge count to skip predicated unary/binary logic operation during logic cone collection stage of macro logic optimization. 

Problem is only seen with JDK-18 released version and not with JDK mainline which contains a re-designed algorithm for macrologic optimization to support predicated logic operations.

Patch replaces edge count based check to detect predicated IR node with a strict node level flag based check.

Kindly review and share your feedback.

Best Regards,
Jatin

-------------

Commit messages:
 - 8286283: assert(func2 == 0 && func3 == 0) failed: not unary

Changes: https://git.openjdk.java.net/jdk18u/pull/123/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk18u&pr=123&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8286283
  Stats: 93 lines in 2 files changed: 91 ins; 1 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk18u/pull/123.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk18u pull/123/head:pull/123

PR: https://git.openjdk.java.net/jdk18u/pull/123


More information about the jdk-updates-dev mailing list