-
Enhancement
-
Resolution: Unresolved
-
P3
-
18, 21, 22
if (i >= 42) {
if (i < 10) {
the second test is not optimized out.
This is also related to
- duplicates
-
JDK-8324793 Fold simple range checks
- Closed
- relates to
-
JDK-8263252 Improve fold_compares c2 optimizations
- Open
-
JDK-8211518 C2 should optimize if diamonds that feed into Phis merging the same value
- In Progress
-
JDK-8321097 C2: Broken graph due to dying Cast nodes while control cannot be removed
- Closed
-
JDK-8264879 Optimize out redundant ifs for constant test.
- Open
-
JDK-8303970 C2 can not merge homogeneous adjacent two If
- Open
-
JDK-8307768 Constant fold IfNode's based on domination information
- Open
-
JDK-8325674 Constant fold across compares
- Open
- links to
-
Review(master) openjdk/jdk/14586