Skip to content

Commit e86f31b

Browse files
committed
8298301: C2: assert(main_cmp->in(2)->Opcode() == Op_Opaque1) failed: main loop has no opaque node?
Reviewed-by: thartmann
1 parent 8edb98d commit e86f31b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hotspot/share/opto/loopTransform.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3576,9 +3576,9 @@ void IdealLoopTree::remove_main_post_loops(CountedLoopNode *cl, PhaseIdealLoop *
35763576

35773577
// Remove the Opaque1Node of the pre loop and make it execute all iterations
35783578
phase->_igvn.replace_input_of(pre_cmp, 2, pre_cmp->in(2)->in(2));
3579-
// Remove the Opaque1Node of the main loop so it can be optimized out
3579+
// Remove the OpaqueZeroTripGuardNode of the main loop so it can be optimized out
35803580
Node* main_cmp = main_iff->in(1)->in(1);
3581-
assert(main_cmp->in(2)->Opcode() == Op_Opaque1, "main loop has no opaque node?");
3581+
assert(main_cmp->in(2)->Opcode() == Op_OpaqueZeroTripGuard, "main loop has no opaque node?");
35823582
phase->_igvn.replace_input_of(main_cmp, 2, main_cmp->in(2)->in(1));
35833583
}
35843584

0 commit comments

Comments
 (0)