CountedLoopEndNode::phi() currently does not check if the node is a PhiNode and may therefore return other nodes (see JDK-8134739). We should change the implementation to always either return a PhiNode or NULL (use tmp->in(1)->as_Phi()) and adapt the call sites accordingly. For example, PhiNode::Value() currently expects phi() to return "something" even if the loop does not contain a PhiNode.
- duplicates
-
JDK-8148786 xml.transform fails on x86-64
- Resolved
- relates to
-
JDK-8134739 compiler/loopopts/superword/TestVectorizationWithInvariant crashes in loop opts
- Closed