7043552: regression after 7042327
Generate Opaque2 node only during first unroll. Reviewed-by: never
This commit is contained in:
parent
fee8d7fca4
commit
70dfd21e87
@ -1230,7 +1230,7 @@ void PhaseIdealLoop::do_unroll( IdealLoopTree *loop, Node_List &old_new, bool ad
|
||||
set_ctrl(new_limit, C->root());
|
||||
} else {
|
||||
// Limit is not constant.
|
||||
{
|
||||
if (loop_head->unrolled_count() == 1) { // only for first unroll
|
||||
// Separate limit by Opaque node in case it is an incremented
|
||||
// variable from previous loop to avoid using pre-incremented
|
||||
// value which could increase register pressure.
|
||||
|
Loading…
x
Reference in New Issue
Block a user