-
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
Assertion llvm::isUIntN(BitWidth, val) && "Value is not an N-bit unsigned value"
for load volatile
from hardcoded pointer on powerpc-linux-musleabihf
#127298
Comments
@llvm/issue-subscribers-backend-powerpc Author: Alex Rønne Petersen (alexrp)
```llvm
target datalayout = "E-m:e-p:32:32-Fn32-i64:64-n32"
target triple = "powerpc-unknown-linux4.19.0-musleabihf"
define fastcc void @behavior.ptrfromint.forceCompilerAnalyzeBranchHardCodedPtrDereference() {
❯ llc reduced.ll -O0
#0 0x0000714490d80ed2 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/alexrp/Source/llvm-project/llvm/lib/Support/Unix/Signals.inc:802:3
|
/cherry-pick 256145b |
/pull-request #127350 |
…#127305) Fixes llvm#127298. (cherry picked from commit 256145b)
Obviously not code meant to actually be run - only compiled. I think "crash on valid" still applies since I don't see anything wrong with the IR in a vacuum, and it compiled fine in prior LLVM versions.
The text was updated successfully, but these errors were encountered: