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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vp.merge.nxv4i64 M
Occurrences:9 in 9 configs, 1 test files, 5 more counted only
Snippet from:vpmerge-sdnode.0aaae3e232.ll (mutant of vpmerge-sdnode.ll) @vpmerge_vi_nxv4i64 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zfh,+zvfh,+v -O2
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 4 x i64> @vpmerge_vi_nxv4i64(<vscale x 4 x i64> %vb, <vscale x 4 x i1> %m, i32 zeroext %evl) {
  %B = add <vscale x 4 x i64> %vb, %vb
  %v = call <vscale x 4 x i64> @llvm.vp.merge.nxv4i64(<vscale x 4 x i1> %m, <vscale x 4 x i64> %B, <vscale x 4 x i64> %vb, i32 %evl)
  ret <vscale x 4 x i64> %v
}

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

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

Reproduce:

llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zfh,+zvfh,+v -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zfh,+zvfh,+v -O2 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (9):

InputFunctionConfig
vpmerge-sdnode.04a046eff2.ll (mutant of vpmerge-sdnode.ll)vpmerge_vx_nxv4i64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+v,+m,+zvbb -O1
vpmerge-sdnode.0aaae3e232.ll (mutant of vpmerge-sdnode.ll)vpmerge_vi_nxv4i64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+zfh,+zvfh,+v -O2
vpmerge-sdnode.22cda865f9.ll (mutant of vpmerge-sdnode.ll)vpmerge_vx_nxv4i64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m,+zba -O0
vpmerge-sdnode.526382b80a.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv4i64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O0 -code-model=small
vpmerge-sdnode.639ab3aba6.ll (mutant of vpmerge-sdnode.ll)vpmerge_vx_nxv4i64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zbkb -O2
vpmerge-sdnode.7a697c28a2.ll (mutant of vpmerge-sdnode.ll)vpmerge_vx_nxv4i64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O2
vpmerge-sdnode.7f2a6c5705.ll (mutant of vpmerge-sdnode.ll)vpmerge_vx_nxv4i64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zicond -O1
vpmerge-sdnode.857fe3b1e4.ll (mutant of vpmerge-sdnode.ll)vpmerge_vx_nxv4i64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zvfh -O2
vpmerge-sdnode.dd33ff9fc1.ll (mutant of vpmerge-sdnode.ll)vpmerge_vx_nxv4i64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O0

Generated 2026-11-29 14:49 UTC.