-
Notifications
You must be signed in to change notification settings - Fork 12.1k
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
[RISCV] isel generates invalid SLRIW instruction on riscv32 #69408
Comments
@llvm/issue-subscribers-backend-risc-v Author: None (shkoo)
The following crashes llc when assertions are enabled. (When they aren't, I just get invalid machine code causing an illegal instruction when executing the resultant code):
```
; ModuleID = 'bugpoint-reduced-simplified.bc'
source_filename = "reduced.ll"
target triple = "riscv32"
define i24 @aext(i32 %0) {
$ llc bugpoint-reduced-simplified.ll
#0 0x000000000290cd5d llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) llvm/lib/Support/Unix/Signals.inc:723:11
LLVM (http://llvm.org/): Registered Targets:
|
The following crashes llc when assertions are enabled. (When they aren't, I just get invalid machine code causing an illegal instruction when executing the resultant code):
Here's what I get when executing:
I'm building from commit ID beffc82:
The text was updated successfully, but these errors were encountered: