Skip to content

Commit

Permalink
8308884: [17u/11u] Backout JDK-8297951
Browse files Browse the repository at this point in the history
This reverts commit de8c37a

Reviewed-by: shade
Backport-of: a93cf5f2b959ba97d5197fe027b81ec69de18382
  • Loading branch information
jerboaa committed May 30, 2023
1 parent 3613ae4 commit 1000b1c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 83 deletions.
12 changes: 7 additions & 5 deletions src/hotspot/share/opto/loopPredicate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1212,11 +1212,13 @@ bool PhaseIdealLoop::loop_predication_impl_helper(IdealLoopTree *loop, ProjNode*
upper_bound_iff->set_req(1, upper_bound_bol);
if (TraceLoopPredicate) tty->print_cr("upper bound check if: %s %d ", negate ? " negated" : "", lower_bound_iff->_idx);

// 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
// splitting the predicated loop into (unreachable) sub-loops (i.e. done by unrolling, peeling, pre/main/post etc.).
new_predicate_proj = insert_initial_skeleton_predicate(iff, loop, proj, predicate_proj, upper_bound_proj, scale,
offset, init, limit, stride, rng, overflow, reason);
// Fall through into rest of the clean up code which will move
// any dependent nodes onto the upper bound test.
new_predicate_proj = upper_bound_proj;

if (iff->is_RangeCheck()) {
new_predicate_proj = insert_initial_skeleton_predicate(iff, loop, proj, predicate_proj, upper_bound_proj, scale, offset, init, limit, stride, rng, overflow, reason);
}

#ifndef PRODUCT
if (TraceLoopOpts && !TraceLoopPredicate) {
Expand Down

This file was deleted.

0 comments on commit 1000b1c

Please sign in to comment.