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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vp.merge.nxv16i8 M
Occurrences:7 in 7 configs, 1 test files, 6 more counted only
Snippet from:vpmerge-sdnode.33fbc030c7.ll (mutant of vpmerge-sdnode.ll) @vpmerge_vi_nxv16i8 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zbb -O1
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global float
@G.3 = external global i1

define <vscale x 16 x i8> @vpmerge_vi_nxv16i8(<vscale x 16 x i8> %vb, <vscale x 16 x i1> %m, i32 zeroext %evl) {
  %LGV = load float, ptr @G.2, align 4
  %v = call <vscale x 16 x i8> @llvm.vp.merge.nxv16i8(<vscale x 16 x i1> %m, <vscale x 16 x i8> splat (i8 2), <vscale x 16 x i8> %vb, i32 %evl)
  %C = fcmp oeq float 1.401300e-45, %LGV
  store i1 %C, ptr @G.3, align 1
  ret <vscale x 16 x i8> %v
}

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.merge.nxv16i8: '  %v = call <vscale x 16 x i8> @llvm.vp.merge.nxv16i8(<vscale x 16 x i1> %m, <vscale x 16 x i8> splat (i8 2), <vscale x 16 x i8> %vb, i32 %evl)' (in function: vpmerge_vi_nxv16i8)
warning: Instruction selection used fallback path for vpmerge_vi_nxv16i8

Occurrences (7):

InputFunctionConfig
vpmerge-sdnode.33fbc030c7.ll (mutant of vpmerge-sdnode.ll)vpmerge_vi_nxv16i8-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zbb -O1
vpmerge-sdnode.3f96cbb7fa.ll (mutant of vpmerge-sdnode.ll)vpmerge_vi_nxv16i8-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+a -O3
vpmerge-sdnode.526382b80a.ll (mutant of vpmerge-sdnode.ll)vpmerge_vi_nxv16i8-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m -O0 -code-model=small
vpmerge-sdnode.675e53b40f.ll (mutant of vpmerge-sdnode.ll)vpmerge_vx_nxv16i8-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+a -O2
vpmerge-sdnode.716055c819.ll (mutant of vpmerge-sdnode.ll)vpmerge_vv_nxv16i8-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O0
vpmerge-sdnode.91c59b7e70.ll (mutant of vpmerge-sdnode.ll)vpmerge_vx_nxv16i8-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O0 -code-model=medium
vpmerge-sdnode.fec4c5a5a3.ll (mutant of vpmerge-sdnode.ll)vpmerge_vx_nxv16i8-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m -O0

Generated 2026-11-29 14:49 UTC.