equal
deleted
inserted
replaced
1228 // no underflow if limit is constant. |
1228 // no underflow if limit is constant. |
1229 new_limit = _igvn.intcon(limit->get_int() - stride_con); |
1229 new_limit = _igvn.intcon(limit->get_int() - stride_con); |
1230 set_ctrl(new_limit, C->root()); |
1230 set_ctrl(new_limit, C->root()); |
1231 } else { |
1231 } else { |
1232 // Limit is not constant. |
1232 // Limit is not constant. |
1233 { |
1233 if (loop_head->unrolled_count() == 1) { // only for first unroll |
1234 // Separate limit by Opaque node in case it is an incremented |
1234 // Separate limit by Opaque node in case it is an incremented |
1235 // variable from previous loop to avoid using pre-incremented |
1235 // variable from previous loop to avoid using pre-incremented |
1236 // value which could increase register pressure. |
1236 // value which could increase register pressure. |
1237 // Otherwise reorg_offsets() optimization will create a separate |
1237 // Otherwise reorg_offsets() optimization will create a separate |
1238 // Opaque node for each use of trip-counter and as result |
1238 // Opaque node for each use of trip-counter and as result |