提交 3da357c1 编写于 作者: K kvn

8046275: Fastdebug build failing on jdk9/hs/ control jobs after pulling some hs-comp changes

Summary: Add missing check for Opaque nodes from loop predicates in clone_loop().
Reviewed-by: iveresov
上级 8afd1d68
......@@ -1401,7 +1401,8 @@ void PhaseIdealLoop::clone_loop( IdealLoopTree *loop, Node_List &old_new, int dd
// loop. Happens if people set a loop-exit flag; then test the flag
// in the loop to break the loop, then test is again outside of the
// loop to determine which way the loop exited.
if( use->is_If() || use->is_CMove() ) {
// Loop predicate If node connects to Bool node through Opaque1 node.
if (use->is_If() || use->is_CMove() || C->is_predicate_opaq(use)) {
// Since this code is highly unlikely, we lazily build the worklist
// of such Nodes to go split.
if( !split_if_set )
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册