-
Notifications
You must be signed in to change notification settings - Fork 12
8301313: RISC-V: C2: assert(false) failed: bad AD file due to missing match rule #17
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
8301313: RISC-V: C2: assert(false) failed: bad AD file due to missing match rule #17
Conversation
… match rule Backport-of: 3ad6aef1496de914b70f00005465e4b22f248d4f
👋 Welcome back dzhang! A progress list of the required criteria for merging this PR into |
This backport pull request has now been updated with issue from the original commit. |
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.
LGTM
I think you should backport fix for https://bugs.openjdk.org/browse/JDK-8299847 first which corrects 'ins_pipe' for the CMove nodes for RISC-V. That would help resolve the dependency here. |
Thanks for pointing this out. |
@DingliZhang 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 no new commits pushed to the As you do not have Committer status in this project an existing Committer must agree to sponsor your change. ➡️ To flag this PR as ready for integration with the above commit message, type |
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.
OK. I see the C2 transformation code leading to the original issue is also there in jdk17u.
Please review this backport to riscv-port-jdk17u.
Backport of JDK-8301313.
The original patch cannot be directly applied because of the line number, but there are no other additional changes.
The error
C2: assert(false) failed
mentioned in the original issue may require foreign api to reproduce, which is not available in jdk17u, but the same problem actually exists in jdk17u.Testing:
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/riscv-port-jdk17u.git pull/17/head:pull/17
$ git checkout pull/17
Update a local copy of the PR:
$ git checkout pull/17
$ git pull https://git.openjdk.org/riscv-port-jdk17u.git pull/17/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 17
View PR using the GUI difftool:
$ git pr show -t 17
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/riscv-port-jdk17u/pull/17.diff