fallback: legalize: G_INTRINSIC_W_SIDE_EFFECTS s32

Run:main-04ca53e65f-20261014-113325
Kind:fallback
Category:legalize: G_INTRINSIC_W_SIDE_EFFECTS s32
Occurrences:1 in 1 configs, 1 test files
Snippet from:rv64-stackmap.ll @liveConstant via llvm-extract
Config:-mtriple=riscv64
Local check:reproduces at 04ca53e65f
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @liveConstant() {
  tail call void (i64, i32, ...) @llvm.experimental.stackmap(i64 15, i32 8, i32 33)
  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), 15, 8, %0:_(s32) (in function: liveConstant)
warning: Instruction selection used fallback path for liveConstant

Occurrences (1):

InputFunctionConfig
rv64-stackmap.llliveConstant-mtriple=riscv64

Generated 2026-10-15 08:05 UTC.