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

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

Snippet:

define <vscale x 32 x half> @vpmerge_vv_nxv32f16(<vscale x 32 x half> %va, <vscale x 32 x half> %vb, <vscale x 32 x i1> %m, i32 zeroext %evl) {
  %v = call <vscale x 32 x half> @llvm.vp.merge.nxv32f16(<vscale x 32 x i1> %m, <vscale x 32 x half> %va, <vscale x 32 x half> %vb, i32 %evl)
  %C = fcmp ord <vscale x 32 x half> %v, splat (half 1.000000e+00)
  store <vscale x 32 x i1> %C, ptr poison, align 4
  ret <vscale x 32 x half> %v
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (6):

InputFunctionConfig
vpmerge-sdnode.3f546b44e4.ll (mutant of vpmerge-sdnode.ll)vpmerge_vf_nxv32f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+zve64d -O3
vpmerge-sdnode.76b18b8c15.ll (mutant of vpmerge-sdnode.ll)vpmerge_vf_nxv32f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zvkb,+zfhmin -O0
vpmerge-sdnode.8d7146d112.ll (mutant of vpmerge-sdnode.ll)vpmerge_vf_nxv32f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zbkb -O2 -code-model=small
vpmerge-sdnode.bb893c92af.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv32f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zfhmin -O3
vpmerge-sdnode.f38797e19c.ll (mutant of vpmerge-sdnode.ll)vpmerge_vf_nxv32f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O3 -code-model=medium
vpmerge-sdnode.f82d7e418a.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv32f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O3

Generated 2026-11-29 14:49 UTC.