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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vp.merge.nxv4f32 M
Occurrences:6 in 6 configs, 1 test files, 4 more counted only
Snippet from:vpmerge-sdnode.937cbd0c7b.ll (mutant of vpmerge-sdnode.ll) @vpmerge_vv_nxv4f32 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfhmin,+v,+m -O0
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global i1
@G.4 = external global i16

define <vscale x 4 x float> @vpmerge_vv_nxv4f32(<vscale x 4 x float> %va, <vscale x 4 x float> %vb, <vscale x 4 x i1> %m, i32 zeroext %evl) {
  %LGV1 = load i16, ptr @G.4, align 2
  %v = call <vscale x 4 x float> @llvm.vp.merge.nxv4f32(<vscale x 4 x i1> %m, <vscale x 4 x float> %va, <vscale x 4 x float> %vb, i32 %evl)
  %C = icmp sle i16 32767, %LGV1
  store i1 %C, ptr @G.1, align 1
  ret <vscale x 4 x float> %v
}

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

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

Reproduce:

llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfhmin,+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=+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.nxv4f32: '  %v = call <vscale x 4 x float> @llvm.vp.merge.nxv4f32(<vscale x 4 x i1> %m, <vscale x 4 x float> %va, <vscale x 4 x float> %vb, i32 %evl)' (in function: vpmerge_vv_nxv4f32)
warning: Instruction selection used fallback path for vpmerge_vv_nxv4f32

Occurrences (6):

InputFunctionConfig
vpmerge-sdnode.00f8b88089.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv4f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zba,+xtheadba -O3
vpmerge-sdnode.37b2ae8f7a.ll (mutant of vpmerge-sdnode.ll)vpmerge_vf_nxv4f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zfh,+zvfhmin,+v,+m -O1
vpmerge-sdnode.761be1aea1.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv4f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O3
vpmerge-sdnode.937cbd0c7b.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv4f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zvfhmin,+v,+m -O0
vpmerge-sdnode.f38797e19c.ll (mutant of vpmerge-sdnode.ll)vpmerge_vf_nxv4f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O3 -code-model=medium
vpmerge-sdnode.f4b046bb2d.ll (mutant of vpmerge-sdnode.ll)vpmerge_vf_nxv4f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zbb,+zicsr -O1 -code-model=small

Generated 2026-11-29 14:49 UTC.