Skip to content
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

Backport rv32 SRLI fix #157

Conversation

SchmErik
Copy link

LLVM 17 introduced this bug: llvm#69408 that generates an illegal instruction for rv32. This fix will get rustc to emit the correct rv32 SRLI instruction. This has been backported to llvm release here: llvm/llvm-project-release-prs@201faec

Note: I made this PR by following these instructions: https://rustc-dev-guide.rust-lang.org/backend/updating-llvm.html#bugfix-updates

@nikic
Copy link

nikic commented Dec 14, 2023

I've rebased our fork to the last LLVM 17 release, which includes this fix. The corresponding submodule update is at rust-lang/rust#118936.

@nikic nikic closed this Dec 14, 2023
bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 15, 2023
Update to LLVM 17.0.6

This is a rebase on the final LLVM 17 release.

Includes the RISCV fix requested in rust-lang/llvm-project#157 (and I think this is also the only change in this release that is relevant to rustc).

r? `@cuviper`

Fixes rust-lang#117902
github-actions bot pushed a commit to rust-lang/miri that referenced this pull request Dec 15, 2023
Update to LLVM 17.0.6

This is a rebase on the final LLVM 17 release.

Includes the RISCV fix requested in rust-lang/llvm-project#157 (and I think this is also the only change in this release that is relevant to rustc).

r? `@cuviper`

Fixes #117902
vext01 pushed a commit to vext01/llvm-project that referenced this pull request May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants