fallback: legalize: G_EXTRACT s64,s160
| Run: | main-bc8218b282-20261015-074651 |
| Kind: | fallback |
| Category: | legalize: G_EXTRACT s64,s160 |
| Occurrences: | 2 in 1 configs, 1 test files |
| Snippet from: | stack-slot-size.ll @caller160 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs |
| Local check: | reproduces at bc8218b282 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
declare void @callee160(i160)
; Function Attrs: nounwind
define i32 @caller160() #0 {
%1 = alloca i32, align 4
store i32 42, ptr %1, align 4
call void @callee160(i160 0)
%2 = load i32, ptr %1, align 4
ret i32 %2
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %6:_(s64) = G_EXTRACT %2:_(s160), 0 (in function: caller160)
warning: Instruction selection used fallback path for caller160
Occurrences (2):
| Input | Function | Config |
|---|
| stack-slot-size.ll | caller160 | -mtriple=riscv64 -verify-machineinstrs |
| stack-slot-size.d261df2640.ll (mutant of stack-slot-size.ll) | caller160 | -mtriple=riscv64 -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.