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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.merge.nxv1i64 M
Occurrences:7 in 7 configs, 2 test files, 3 more counted only
Snippet from:vpmerge-sdnode.e979919b43.ll (mutant of vpmerge-sdnode.ll) @vpmerge_vv_nxv1i64 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zcb -O0
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global double

define <vscale x 1 x i64> @vpmerge_vv_nxv1i64(<vscale x 1 x i64> %va, <vscale x 1 x i64> %vb, <vscale x 1 x i1> %m, i32 zeroext %evl) {
  %LGV = load double, ptr @G, align 8
  %v = call <vscale x 1 x i64> @llvm.vp.merge.nxv1i64(<vscale x 1 x i1> %m, <vscale x 1 x i64> %va, <vscale x 1 x i64> %vb, i32 %evl)
  %C = fcmp ugt double %LGV, 1.000000e+00
  store i1 %C, ptr poison, align 1
  ret <vscale x 1 x i64> %v
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 1 x i64> @llvm.vp.merge.nxv1i64(<vscale x 1 x i1>, <vscale x 1 x i64>, <vscale x 1 x i64>, 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,+zcb -O0 -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,+zcb -O0 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (7):

InputFunctionConfig
strided-vpload.471380ade8.ll (mutant of strided-vpload.ll)zero_strided_vadd_nxv1i64-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+d,+v,+zvfh,+zvfbfmin,+zvkb -O2
vpmerge-sdnode.1240b5377b.ll (mutant of vpmerge-sdnode.ll)vpmerge_vi_nxv1i64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zbkb -O0
vpmerge-sdnode.1deeb136ae.ll (mutant of vpmerge-sdnode.ll)vpmerge_vx_nxv1i64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O3
vpmerge-sdnode.2ee9d59d78.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv1i64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+zicsr -O1
vpmerge-sdnode.5a150b7e62.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv1i64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zfa -O2
vpmerge-sdnode.d215b06ef4.ll (mutant of vpmerge-sdnode.ll)vpmerge_vx_nxv1i64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfhmin,+v,+m -O2
vpmerge-sdnode.e979919b43.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv1i64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zcb -O0

Generated 2026-11-29 14:49 UTC.