-
Notifications
You must be signed in to change notification settings - Fork 66
8271202 C1: assert(false) failed: live_in set of first block must be empty #73
Conversation
👋 Welcome back iveresov! A progress list of the required criteria for merging this PR into |
/contributor add @TheRealMDoerr |
@veresov |
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.
Looks good.
@veresov This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 25 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
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.
Agree.
Thanks, guys! |
Going to push as commit 54b800d.
Your commit was automatically rebased without conflicts. |
Thanks for digging through the graph and for providing this fix. Looks good. I didn't have enough time before my vacation. |
The root cause seems to be because of the irreducible loops (and therefore an unusual block traversal order when inserting phis) the phi invalidation logic in try_merge() doesn't invalidate phis that have invalid locals as inputs. I've attached a drawing: 8271202.pdf. Notice that i54 = phi (i43, 96) is not invalidated even though 96 is illegal. Transitively, i43, it should be illegal too. I would propose that we add a check for that and bailout in move_phi().
This has also been discussed here: openjdk/jdk#6683
Testing is clean.
Progress
Issue
Reviewers
Contributors
<mdoerr@openjdk.org>
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk18 pull/73/head:pull/73
$ git checkout pull/73
Update a local copy of the PR:
$ git checkout pull/73
$ git pull https://git.openjdk.java.net/jdk18 pull/73/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 73
View PR using the GUI difftool:
$ git pr show -t 73
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk18/pull/73.diff