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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.merge.nxv8f16 M
Occurrences:6 in 6 configs, 1 test files
Snippet from:vpmerge-sdnode.dddf9c2d41.ll (mutant of vpmerge-sdnode.ll) @vpmerge_vv_nxv8f16 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zve32x,+zbb -O1
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 8 x half> @vpmerge_vv_nxv8f16(<vscale x 8 x half> %va, <vscale x 8 x half> %vb, <vscale x 8 x i1> %m, i32 zeroext %evl) {
  %A = alloca i1, align 1
  store i1 poison, ptr %A, align 1
  %v = call <vscale x 8 x half> @llvm.vp.merge.nxv8f16(<vscale x 8 x i1> %m, <vscale x 8 x half> %va, <vscale x 8 x half> %vb, i32 %evl)
  %C = icmp eq i32 %evl, 0
  store i1 %C, ptr %A, align 1
  ret <vscale x 8 x half> %v
}

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

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

Reproduce:

llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zve32x,+zbb -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zve32x,+zbb -O1 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (6):

InputFunctionConfig
vpmerge-sdnode.19244e0019.ll (mutant of vpmerge-sdnode.ll)vpmerge_vf_nxv8f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+m -O1
vpmerge-sdnode.5a150b7e62.ll (mutant of vpmerge-sdnode.ll)vpmerge_vf_nxv8f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zfa -O2
vpmerge-sdnode.90b506569c.ll (mutant of vpmerge-sdnode.ll)vpmerge_vf_nxv8f16-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+xtheadba,+c -O2
vpmerge-sdnode.9df0178410.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv8f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zba,+zcb -O3
vpmerge-sdnode.a1f19a498f.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv8f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O0
vpmerge-sdnode.dddf9c2d41.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv8f16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zve32x,+zbb -O1

Generated 2026-11-29 14:49 UTC.