# HG changeset patch # User kvn # Date 1402353751 25200 # Node ID ad51f24671c272c03e2721b2fdb44af5f543eadc # Parent 0b9500028980e196e6246350f877c5657109af03 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 diff -r 0b9500028980 -r ad51f24671c2 src/share/vm/opto/loopopts.cpp --- a/src/share/vm/opto/loopopts.cpp Mon Jun 02 14:32:29 2014 -0400 +++ b/src/share/vm/opto/loopopts.cpp Mon Jun 09 15:42:31 2014 -0700 @@ -1401,7 +1401,8 @@ // 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 )