Mon, 09 Jun 2014 15:42:31 -0700
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
src/share/vm/opto/loopopts.cpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/vm/opto/loopopts.cpp Mon Jun 02 14:32:29 2014 -0400 1.2 +++ b/src/share/vm/opto/loopopts.cpp Mon Jun 09 15:42:31 2014 -0700 1.3 @@ -1401,7 +1401,8 @@ 1.4 // loop. Happens if people set a loop-exit flag; then test the flag 1.5 // in the loop to break the loop, then test is again outside of the 1.6 // loop to determine which way the loop exited. 1.7 - if( use->is_If() || use->is_CMove() ) { 1.8 + // Loop predicate If node connects to Bool node through Opaque1 node. 1.9 + if (use->is_If() || use->is_CMove() || C->is_predicate_opaq(use)) { 1.10 // Since this code is highly unlikely, we lazily build the worklist 1.11 // of such Nodes to go split. 1.12 if( !split_if_set )