8331088: Incorrect TraceLoopPredicate output
Reviewed-by: chagedorn, dlong
This commit is contained in:
parent
0a24daeceb
commit
19e46eed58
@ -1247,7 +1247,7 @@ bool PhaseIdealLoop::loop_predication_impl_helper(IdealLoopTree* loop, IfProjNod
|
|||||||
IfNode* upper_bound_iff = upper_bound_proj->in(0)->as_If();
|
IfNode* upper_bound_iff = upper_bound_proj->in(0)->as_If();
|
||||||
_igvn.hash_delete(upper_bound_iff);
|
_igvn.hash_delete(upper_bound_iff);
|
||||||
upper_bound_iff->set_req(1, upper_bound_bol);
|
upper_bound_iff->set_req(1, upper_bound_bol);
|
||||||
if (TraceLoopPredicate) tty->print_cr("upper bound check if: %d", lower_bound_iff->_idx);
|
if (TraceLoopPredicate) tty->print_cr("upper bound check if: %d", upper_bound_iff->_idx);
|
||||||
|
|
||||||
// Fall through into rest of the cleanup code which will move any dependent nodes to the skeleton predicates of the
|
// Fall through into rest of the cleanup code which will move any dependent nodes to the skeleton predicates of the
|
||||||
// upper bound test. We always need to create skeleton predicates in order to properly remove dead loops when later
|
// upper bound test. We always need to create skeleton predicates in order to properly remove dead loops when later
|
||||||
|
Loading…
x
Reference in New Issue
Block a user