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

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

Snippet:

@G = external global <2 x i64>
@G.1 = external global <2 x i64>

define <vscale x 1 x float> @vpmerge_vv_nxv1f32(<vscale x 1 x float> %va, <vscale x 1 x float> %vb, <vscale x 1 x i1> %m, i32 zeroext %evl) {
  %LGV = load <2 x i64>, ptr @G, align 16
  %v = call <vscale x 1 x float> @llvm.vp.merge.nxv1f32(<vscale x 1 x i1> %m, <vscale x 1 x float> %va, <vscale x 1 x float> %vb, i32 %evl)
  %B = sdiv <2 x i64> %LGV, splat (i64 1)
  store <2 x i64> %B, ptr @G.1, align 16
  ret <vscale x 1 x float> %v
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 1 x float> @llvm.vp.merge.nxv1f32(<vscale x 1 x i1>, <vscale x 1 x float>, <vscale x 1 x float>, 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.nxv1f32: '  %v = call <vscale x 1 x float> @llvm.vp.merge.nxv1f32(<vscale x 1 x i1> %m, <vscale x 1 x float> %va, <vscale x 1 x float> %vb, i32 %evl)' (in function: vpmerge_vv_nxv1f32)
warning: Instruction selection used fallback path for vpmerge_vv_nxv1f32

Occurrences (5):

InputFunctionConfig
vpmerge-sdnode.0bada5db71.ll (mutant of vpmerge-sdnode.ll)vpmerge_vf_nxv1f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O2 -code-model=medium
vpmerge-sdnode.68b7790907.ll (mutant of vpmerge-sdnode.ll)vpmerge_vf_nxv1f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zihintpause,+zfhmin -O3
vpmerge-sdnode.71141f9615.ll (mutant of vpmerge-sdnode.ll)vpmerge_vf_nxv1f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zfh,+zvfhmin,+v,+m,+zbkb -O1
vpmerge-sdnode.8d7146d112.ll (mutant of vpmerge-sdnode.ll)vpmerge_vf_nxv1f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zbkb -O2 -code-model=small
vpmerge-sdnode.95d84c23f9.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv1f32-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O2

Generated 2026-11-29 14:49 UTC.