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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.merge.nxv4i16 M
Occurrences:7 in 7 configs, 1 test files, 1 more counted only
Snippet from:vpmerge-sdnode.f15836bb02.ll (mutant of vpmerge-sdnode.ll) @vpmerge_vv_nxv4i16 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m -O0 -code-model=small
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 4 x i16> @vpmerge_vv_nxv4i16(<vscale x 4 x i16> %va, <vscale x 4 x i16> %vb, <vscale x 4 x i1> %m, i32 zeroext %evl) {
  %v = call <vscale x 4 x i16> @llvm.vp.merge.nxv4i16(<vscale x 4 x i1> %m, <vscale x 4 x i16> %va, <vscale x 4 x i16> %vb, i32 %evl)
  %B = mul <vscale x 4 x i16> %vb, %v
  ret <vscale x 4 x i16> %B
}

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

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.merge.nxv4i16: '  %v = call <vscale x 4 x i16> @llvm.vp.merge.nxv4i16(<vscale x 4 x i1> %m, <vscale x 4 x i16> %va, <vscale x 4 x i16> %vb, i32 %evl)' (in function: vpmerge_vv_nxv4i16)
warning: Instruction selection used fallback path for vpmerge_vv_nxv4i16

Occurrences (7):

InputFunctionConfig
vpmerge-sdnode.348288d5b8.ll (mutant of vpmerge-sdnode.ll)vpmerge_vx_nxv4i16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zfa,+f -O2
vpmerge-sdnode.b62fe05c4f.ll (mutant of vpmerge-sdnode.ll)vpmerge_vi_nxv4i16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+c -O3
vpmerge-sdnode.d215b06ef4.ll (mutant of vpmerge-sdnode.ll)vpmerge_vi_nxv4i16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfhmin,+v,+m -O2
vpmerge-sdnode.e72e13377e.ll (mutant of vpmerge-sdnode.ll)vpmerge_vi_nxv4i16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+m -O1
vpmerge-sdnode.e979919b43.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv4i16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zcb -O0
vpmerge-sdnode.f0a94a01a4.ll (mutant of vpmerge-sdnode.ll)vpmerge_vx_nxv4i16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O1 -code-model=medium
vpmerge-sdnode.f15836bb02.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv4i16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m -O0 -code-model=small

Generated 2026-11-29 14:49 UTC.