fallback: translate: call llvm.vp.merge.nxv16i8

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.merge.nxv16i8 M
Occurrences:6 in 6 configs, 1 test files
Snippet from:vpmerge-sdnode.b86ab4ad9c.ll (mutant of vpmerge-sdnode.ll) @vpmerge_vi_nxv16i8 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v -O0
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 16 x i8> @vpmerge_vi_nxv16i8(<vscale x 16 x i8> %vb, <vscale x 16 x i1> %m, i32 zeroext %evl) {
  %A = alloca i32, align 4
  store i32 poison, ptr %A, align 4
  %B = add i32 %evl, 2147483647
  %v = call <vscale x 16 x i8> @llvm.vp.merge.nxv16i8(<vscale x 16 x i1> %m, <vscale x 16 x i8> splat (i8 2), <vscale x 16 x i8> %vb, i32 %evl)
  store i32 %B, ptr %A, align 4
  ret <vscale x 16 x i8> %v
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 16 x i8> @llvm.vp.merge.nxv16i8(<vscale x 16 x i1>, <vscale x 16 x i8>, <vscale x 16 x i8>, i32) #0

attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

Reproduce:

llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v -O0 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.merge.nxv16i8: '  %v = call <vscale x 16 x i8> @llvm.vp.merge.nxv16i8(<vscale x 16 x i1> %m, <vscale x 16 x i8> splat (i8 2), <vscale x 16 x i8> %vb, i32 %evl)' (in function: vpmerge_vi_nxv16i8)
warning: Instruction selection used fallback path for vpmerge_vi_nxv16i8

Occurrences (6):

InputFunctionConfig
vpmerge-sdnode.1deeb136ae.ll (mutant of vpmerge-sdnode.ll)vpmerge_vi_nxv16i8-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O3
vpmerge-sdnode.3a940adfbc.ll (mutant of vpmerge-sdnode.ll)vpmerge_vi_nxv16i8-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+a -O3
vpmerge-sdnode.5a150b7e62.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv16i8-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zfa -O2
vpmerge-sdnode.6837005672.ll (mutant of vpmerge-sdnode.ll)vpmerge_vi_nxv16i8-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+a,+zbs -O2
vpmerge-sdnode.b86ab4ad9c.ll (mutant of vpmerge-sdnode.ll)vpmerge_vi_nxv16i8-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v -O0
vpmerge-sdnode.df90211b8d.ll (mutant of vpmerge-sdnode.ll)vpmerge_vx_nxv16i8-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O2

Generated 2026-11-29 14:49 UTC.