8279535: C2: Dead code in PhaseIdealLoop::create_loop_nest after JDK-8276116

Reviewed-by: thartmann
This commit is contained in:
Roland Westrelin 2022-02-02 07:38:36 +00:00
parent ab638341de
commit 4304a7728e

View File

@ -830,10 +830,7 @@ bool PhaseIdealLoop::create_loop_nest(IdealLoopTree* loop, Node_List &old_new) {
return false;
}
IfNode* exit_test = head->loopexit();
BoolTest::mask mask = exit_test->as_BaseCountedLoopEnd()->test_trip();
Node* cmp = exit_test->as_BaseCountedLoopEnd()->cmp_node();
assert(back_control->Opcode() == Op_IfTrue, "wrong projection for back edge");