-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8361702: C2: assert(is_dominator(compute_early_ctrl(limit, limit_ctrl), pre_end)) failed: node pinned on loop exit test? #26424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back roland! A progress list of the required criteria for merging this PR into |
@rwestrel This change is no longer ready for integration - check the PR body for details. |
Webrevs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small comments, otherwise, looks good! I launched some testing.
Somehow forgot to submit my review from 2 days ago...
test/hotspot/jtreg/compiler/rangechecks/TestSunkRangeFromPreLoopRCE2.java
Outdated
Show resolved
Hide resolved
test/hotspot/jtreg/compiler/rangechecks/TestSunkRangeFromPreLoopRCE2.java
Outdated
Show resolved
Hide resolved
test/hotspot/jtreg/compiler/rangechecks/TestSunkRangeFromPreLoopRCE3.java
Outdated
Show resolved
Hide resolved
…opRCE2.java Co-authored-by: Christian Hagedorn <[email protected]>
Co-authored-by: Christian Hagedorn <[email protected]>
…opRCE2.java Co-authored-by: Christian Hagedorn <[email protected]>
…opRCE3.java Co-authored-by: Christian Hagedorn <[email protected]>
A node in a pre loop only has uses out of the loop dominated by the
loop exit.
PhaseIdealLoop::try_sink_out_of_loop()
sets its controlto the loop exit projection. A range check in the main loop has this
node as input (through a chain of some other nodes). Range check
elimination needs to update the exit condition of the pre loop with an
expression that depends on the node pinned on its exit: that's
impossible and the assert fires. This is a variant of 8314024 (this
one was for a node with uses out of the pre loop on multiple paths). I
propose the same fix: leave the node with control in the pre loop in
this case.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/26424/head:pull/26424
$ git checkout pull/26424
Update a local copy of the PR:
$ git checkout pull/26424
$ git pull https://git.openjdk.org/jdk.git pull/26424/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 26424
View PR using the GUI difftool:
$ git pr show -t 26424
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/26424.diff
Using Webrev
Link to Webrev Comment