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

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

Snippet:

@G.1 = external global i1

define <vscale x 8 x float> @vpmerge_vv_nxv8f32(<vscale x 8 x float> %va, <vscale x 8 x float> %vb, <vscale x 8 x i1> %m, i32 zeroext %evl) {
  %C = fcmp uno half 6.550400e+04, 0.000000e+00
  %v = call <vscale x 8 x float> @llvm.vp.merge.nxv8f32(<vscale x 8 x i1> %m, <vscale x 8 x float> %va, <vscale x 8 x float> %vb, i32 %evl)
  store i1 %C, ptr @G.1, align 1
  ret <vscale x 8 x float> %v
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (4):

InputFunctionConfig
vpmerge-sdnode.10f89d733b.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv8f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m -O0
vpmerge-sdnode.1deeb136ae.ll (mutant of vpmerge-sdnode.ll)vpmerge_vf_nxv8f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O3
vpmerge-sdnode.40f0120252.ll (mutant of vpmerge-sdnode.ll)vpmerge_vf_nxv8f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zicsr -O2
vpmerge-sdnode.a1f19a498f.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv8f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O0

Generated 2026-11-29 14:49 UTC.