mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
7043552: regression after 7042327
Generate Opaque2 node only during first unroll. Reviewed-by: never
This commit is contained in:
parent
fee8d7fca4
commit
70dfd21e87
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue