# HG changeset patch # User poonam # Date 1415196806 28800 # Node ID 9d2b485d2a58ea57ab2b3c06b2128f456ab39a38 # Parent 861532140bbd8e225645b3b494729e8e49f03bd2 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: kvn diff -r 861532140bbd -r 9d2b485d2a58 src/share/vm/opto/loopopts.cpp --- a/src/share/vm/opto/loopopts.cpp Fri Oct 24 10:28:19 2014 -0700 +++ b/src/share/vm/opto/loopopts.cpp Wed Nov 05 06:13:26 2014 -0800 @@ -1393,7 +1393,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 )