-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Bad codegen (most probably) on ARMv7 #42893
Comments
Let me take a look |
This is supposed to occur on |
It's on |
Bug confirmed. |
This looks fixed on LLVM 5.0, looks like we need another bisect run. |
Looks like 4868a15090d0dbaa91b772e498eadc92cfdebd7a - [ARM] Temporarily disable globals promotion to constant pools to prevent miscompilation. That is going into LLVM 4.0.1, so we might just get that. LLVM 4.0.1 is actually just 21 commits:
|
This backports fixes several codegen bugs, including rust-lang#42893.
Rebase LLVM on top of LLVM 4.0.1 Fixes #42893. Please don't backport this to beta as-is - I'm not sure I want rust-lang/llvm#84 to sneak to beta before it gets sufficient testing. r? @alexcrichton
[beta] rebase LLVM on top of 4.0.1 This backports fixes several codegen bugs, including #42893. This also un-commits the introduction of #42750 (the StackColoring improvement) to beta. That seemed to have occurred by accident in #42927, but I'm not comfortable with sneaking a subtle codegen change like this to beta. r? @alexcrichton
The build for PR #42882 failed on ARM machines only. The failure is baffling and makes no sense at all. I managed to reproduce it on my Raspberry Pi and then tried minimizing the code bit by bit. This is the smallest example I have that demonstrates the problem:
Running in debug mode is all right:
But running in release mode prints out weird stuff:
Environment:
cc @alexcrichton
The text was updated successfully, but these errors were encountered: