8319372 removed a transformation that tries to narrow the type of a CastII node at an If if the test is a comparison between the input of the CastII and some other node. The motivation for this removal was stability issues. JDK-8349479 should solve these issues. So it should be safe to add the code back. The question is whether it is beneficial or not.
- relates to
-
JDK-8349479 C2: when a Type node becomes dead, make CFG path that uses it unreachable
-
- Resolved
-
-
JDK-8319372 C2 compilation fails with "Bad immediate dominator info"
-
- Closed
-