Skip to content

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

Merged
merged 3 commits into from
Mar 21, 2023

Conversation

DingliZhang
Copy link
Member

@DingliZhang DingliZhang commented Mar 19, 2023

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:

  • Tier1-3 passed without new failure on unmacthed (release).

Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Issue

  • JDK-8301313: RISC-V: C2: assert(false) failed: bad AD file due to missing match rule

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

… match rule

Backport-of: 3ad6aef1496de914b70f00005465e4b22f248d4f
@bridgekeeper
Copy link

bridgekeeper bot commented Mar 19, 2023

👋 Welcome back dzhang! A progress list of the required criteria for merging this PR into riscv-port will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk openjdk bot changed the title Backport 3ad6aef1496de914b70f00005465e4b22f248d4f 8301313: RISC-V: C2: assert(false) failed: bad AD file due to missing match rule Mar 19, 2023
@openjdk
Copy link

openjdk bot commented Mar 19, 2023

This backport pull request has now been updated with issue from the original commit.

@openjdk openjdk bot added backport rfr Pull request is ready for review labels Mar 19, 2023
@mlbridge
Copy link

mlbridge bot commented Mar 19, 2023

Webrevs

Copy link
Member

@feilongjiang feilongjiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@RealFYang
Copy link
Member

RealFYang commented Mar 20, 2023

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.

@DingliZhang
Copy link
Member Author

DingliZhang commented Mar 20, 2023

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.
I'm currently testing JDK-8299847 and will create backport PR after that first.

@openjdk openjdk bot added the clean label Mar 21, 2023
@openjdk
Copy link

openjdk bot commented Mar 21, 2023

@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:

8301313: RISC-V: C2: assert(false) failed: bad AD file due to missing match rule

Reviewed-by: fjiang

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 riscv-port branch. If another commit should be pushed before you perform the /integrate command, your PR will be automatically rebased. If you prefer to avoid any potential automatic rebasing, please check the documentation for the /integrate command for further details.

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 /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Mar 21, 2023
Copy link
Member

@RealFYang RealFYang left a 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.

@RealFYang RealFYang merged commit f2bdd16 into openjdk:riscv-port Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport clean ready Pull request is ready to be integrated rfr Pull request is ready for review
Development

Successfully merging this pull request may close these issues.

3 participants