-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
LLVM 21: issue-114312.rs fails after llvm-project@36f0838a3dd1 #137799
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
fyi @nikic |
It's fine to drop the The readonly check was testing the internal reason why the original issue happened in the first place, but having the attribute is not actually incorrect. (It's an empty function after optimization.) |
Oh, nice. I'll prepare a patch! |
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Mar 1, 2025
…=jieyouxu tests: adapt for LLVM 21 changes Per discussion in rust-lang#137799 we don't really need this readonly attribute, so let's just drop it so the test passes on LLVM 21. Fixes rust-lang#137799.
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Mar 1, 2025
…=jieyouxu tests: adapt for LLVM 21 changes Per discussion in rust-lang#137799 we don't really need this readonly attribute, so let's just drop it so the test passes on LLVM 21. Fixes rust-lang#137799.
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Mar 2, 2025
Rollup merge of rust-lang#137818 - durin42:llvm-21-remove-readonly, r=jieyouxu tests: adapt for LLVM 21 changes Per discussion in rust-lang#137799 we don't really need this readonly attribute, so let's just drop it so the test passes on LLVM 21. Fixes rust-lang#137799.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Starting with llvm/llvm-project@36f0838
tests/codegen/issues/issue-114312.rs
fails thus:Given that the test is explicitly looking for the lack of
readonly
it seems like this must be a bug in LLVM? But I'm filing this bug so we can keep track of this and make sure our CI stays green.The text was updated successfully, but these errors were encountered: