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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vp.merge.nxv64i8 M
Occurrences:6 in 5 configs, 1 test files, 4 more counted only
Snippet from:vpmerge-sdnode.c320930211.ll (mutant of vpmerge-sdnode.ll) @vpmerge_vi_nxv64i8 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+v,+m,+zfhmin -O0
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 64 x i8> @vpmerge_vi_nxv64i8(<vscale x 64 x i8> %vb, <vscale x 64 x i1> %m, i32 zeroext %evl) {
  %v = call <vscale x 64 x i8> @llvm.vp.merge.nxv64i8(<vscale x 64 x i1> %m, <vscale x 64 x i8> splat (i8 2), <vscale x 64 x i8> %vb, i32 %evl)
  %C = icmp ne <vscale x 64 x i8> %vb, %vb
  store <vscale x 64 x i1> %C, ptr poison, align 8
  ret <vscale x 64 x i8> %v
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (6):

InputFunctionConfig
vpmerge-sdnode.3f96cbb7fa.ll (mutant of vpmerge-sdnode.ll)vpmerge_vi_nxv64i8-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+a -O3
vpmerge-sdnode.53bc51a00c.ll (mutant of vpmerge-sdnode.ll)vpmerge_vx_nxv64i8-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O1
vpmerge-sdnode.7a697c28a2.ll (mutant of vpmerge-sdnode.ll)vpmerge_vx_nxv64i8-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O2
vpmerge-sdnode.8a0b660543.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv64i8-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O3
vpmerge-sdnode.c320930211.ll (mutant of vpmerge-sdnode.ll)vpmerge_vi_nxv64i8-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+v,+m,+zfhmin -O0
vpmerge-sdnode.ec32db1ef7.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv64i8-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O1

Generated 2026-11-29 14:49 UTC.