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

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

Snippet:

@G.1 = external global i1

define <vscale x 4 x i1> @vpmerge_nxv4i1(<vscale x 4 x i1> %va, <vscale x 4 x i1> %vb, <vscale x 4 x i1> %m, i32 zeroext %evl) {
  %v = call <vscale x 4 x i1> @llvm.vp.merge.nxv4i1(<vscale x 4 x i1> %m, <vscale x 4 x i1> %va, <vscale x 4 x i1> %vb, i32 %evl)
  %C = icmp ule i32 %evl, -1
  store i1 %C, ptr @G.1, align 1
  ret <vscale x 4 x i1> %v
}

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

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

Reproduce:

llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zcb -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zcb -O3 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (5):

InputFunctionConfig
vpmerge-sdnode.24fd97edc0.ll (mutant of vpmerge-sdnode.ll)vpmerge_nxv4i1-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+zvkb -O1
vpmerge-sdnode.75524a08d8.ll (mutant of vpmerge-sdnode.ll)vpmerge_nxv4i1-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfh,+v,+m,+xtheadba,+f -O1
vpmerge-sdnode.8d2ac2268a.ll (mutant of vpmerge-sdnode.ll)vpmerge_nxv4i1-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O0 -code-model=small
vpmerge-sdnode.be4553b525.ll (mutant of vpmerge-sdnode.ll)vpmerge_nxv4i1-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m,+zcb -O3
vpmerge-sdnode.f38797e19c.ll (mutant of vpmerge-sdnode.ll)vpmerge_nxv4i1-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+v,+m -O3 -code-model=medium

Generated 2026-11-29 14:49 UTC.