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