fallback: legalize: G_INTRINSIC_W_SIDE_EFFECTS p0,s32
| Run: | explore-04ca53e65f-20261014-114124 |
| Kind: | fallback |
| Category: | legalize: G_INTRINSIC_W_SIDE_EFFECTS p0,s32 |
| Occurrences: | 12 in 2 configs, 1 test files |
| Snippet from: | eh-dwarf-cfa.ll @dwarf via llvm-extract |
| Config: | -mtriple=riscv32 |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define void @dwarf() {
entry:
%0 = call ptr @llvm.eh.dwarf.cfa(i32 0)
call void @foo(ptr %0)
ret void
}
declare void @foo(ptr)
; Function Attrs: nounwind
declare ptr @llvm.eh.dwarf.cfa(i32) #0
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %0:_(p0) = G_INTRINSIC_W_SIDE_EFFECTS intrinsic(@llvm.eh.dwarf.cfa), %1:_(s32) (in function: dwarf)
warning: Instruction selection used fallback path for dwarf
Occurrences (12):
Generated 2026-10-15 08:05 UTC.