-
Notifications
You must be signed in to change notification settings - Fork 148
8270307: C2: assert(false) failed: bad AD file after JDK-8267687 #254
Conversation
👋 Welcome back yyang! A progress list of the required criteria for merging this PR into |
@kelthuzadx The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
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.
@kelthuzadx 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 1 new commit pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ 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.
Looks good to me.
Thanks Vladimir and Tobias for reviews! |
/contributor add Kuai Wei kuaiwei.kw@alibaba-inc.com |
@kelthuzadx |
/integrate |
@kelthuzadx Pushed as commit 0cec11d. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
One input of ConvI2L becomes Top, which causes all nodes in the chain becoming Top, but this CMoveLNode does not change, only its input becomes Top.
This CMoveLNode(CMove Binary(.. ..) (Binary .. Con#Top)) can not match any rules in the instruction selection phase and finally hits the assert. The proposed fix disables further optimizations if inputs of CMoveNode are type of Top.
Testing:
Progress
Issue
Reviewers
Contributors
<kuaiwei.kw@alibaba-inc.com>
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk17 pull/254/head:pull/254
$ git checkout pull/254
Update a local copy of the PR:
$ git checkout pull/254
$ git pull https://git.openjdk.java.net/jdk17 pull/254/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 254
View PR using the GUI difftool:
$ git pr show -t 254
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk17/pull/254.diff