fallback: legalize: G_INTRINSIC_W_SIDE_EFFECTS s64,p0

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

Snippet:

define i64 @propertyRead(ptr %obj) {
entry:
  %resolveRead = inttoptr i64 244837814094590 to ptr
  %result = call anyregcc i64 (i64, i32, ptr, i32, ...) @llvm.experimental.patchpoint.i64(i64 5, i32 28, ptr %resolveRead, i32 1, ptr %obj)
  %add = add i64 %result, 3
  ret i64 %add
}

declare i64 @llvm.experimental.patchpoint.i64(i64 immarg, i32 immarg, ptr, i32 immarg, ...)

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: %3:_(s64) = G_INTRINSIC_W_SIDE_EFFECTS intrinsic(@llvm.experimental.patchpoint), 5, 28, %2:_(p0), 1, %0:_(p0) (in function: propertyRead)
warning: Instruction selection used fallback path for propertyRead

Occurrences (4):

InputFunctionConfig
rv64-stackmap.llpropertyRead-mtriple=riscv64
rv64-stackmap.lljsIntCall-mtriple=riscv64
rv64-stackmap.c3b11611cf.ll (mutant of rv64-stackmap.ll)jsIntCall-mtriple=riscv64
rv64-stackmap.ed453bde6a.ll (mutant of rv64-stackmap.ll)jsIntCall-mtriple=riscv64

Generated 2026-10-15 08:05 UTC.