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

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

Snippet:

define <vscale x 16 x half> @vpmerge_vv_nxv16f16(<vscale x 16 x half> %va, <vscale x 16 x half> %vb, <vscale x 16 x i1> %m, i32 zeroext %evl) {
  %v = call <vscale x 16 x half> @llvm.vp.merge.nxv16f16(<vscale x 16 x i1> %m, <vscale x 16 x half> %va, <vscale x 16 x half> %vb, i32 %evl)
  %B = fsub <vscale x 16 x half> %v, splat (half +inf)
  ret <vscale x 16 x half> %B
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 16 x half> @llvm.vp.merge.nxv16f16(<vscale x 16 x i1>, <vscale x 16 x half>, <vscale x 16 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 -O2 -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 -O2 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (6):

InputFunctionConfig
vpmerge-sdnode.1e1be787f4.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv16f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m,+zicsr -O0
vpmerge-sdnode.7a697c28a2.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv16f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O2
vpmerge-sdnode.89db35f837.ll (mutant of vpmerge-sdnode.ll)vpmerge_vf_nxv16f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+f -O1
vpmerge-sdnode.8a0b660543.ll (mutant of vpmerge-sdnode.ll)vpmerge_vf_nxv16f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O3
vpmerge-sdnode.e52b2b8c11.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv16f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O2
vpmerge-sdnode.ed73790235.ll (mutant of vpmerge-sdnode.ll)vpmerge_vf_nxv16f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zfh,+zvfhmin,+v,+m -O1

Generated 2026-11-29 14:49 UTC.