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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.merge.nxv2f32 M
Occurrences:6 in 4 configs, 2 test files, 7 more counted only
Snippet from:vpmerge-sdnode.a6fb2cb6a2.ll (mutant of vpmerge-sdnode.ll) @vpmerge_vv_nxv2f32 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O0
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i128

define <vscale x 2 x float> @vpmerge_vv_nxv2f32(<vscale x 2 x float> %va, <vscale x 2 x float> %vb, <vscale x 2 x i1> %m, i32 zeroext %evl) {
  %B = mul i128 42, 18446744073709551616
  %v = call <vscale x 2 x float> @llvm.vp.merge.nxv2f32(<vscale x 2 x i1> %m, <vscale x 2 x float> %va, <vscale x 2 x float> %vb, i32 %evl)
  store i128 %B, ptr @G, align 4
  ret <vscale x 2 x float> %v
}

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

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

Reproduce:

llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -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,+zvfhmin,+v,+m -O0 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (6):

InputFunctionConfig
rvv-peephole-vmerge-vops.523b6fe958.ll (mutant of rvv-peephole-vmerge-vops.ll)vpmerge_vfrec7-mtriple=riscv64 -mattr=+v -O0 -verify-machineinstrs
vpmerge-sdnode.2ee9d59d78.ll (mutant of vpmerge-sdnode.ll)vpmerge_vf_nxv2f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+zicsr -O1
vpmerge-sdnode.2ee9d59d78.ll (mutant of vpmerge-sdnode.ll)splat_nxv2f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+zicsr -O1
vpmerge-sdnode.5279a4aa7c.ll (mutant of vpmerge-sdnode.ll)vpmerge_vf_nxv2f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O0
vpmerge-sdnode.a6fb2cb6a2.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv2f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O0
vpmerge-sdnode.e953d04a05.ll (mutant of vpmerge-sdnode.ll)vpmerge_vf_nxv2f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zve32x -O1

Generated 2026-11-29 14:49 UTC.