fallback: translate: call llvm.vp.gather.nxv4i64.nxv4p0

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.gather.nxv4i64.nxv4p0 M
Occurrences:9 in 9 configs, 2 test files, 3 more counted only
Snippet from:vpgather-sdnode.0a8714dc34.ll (mutant of vpgather-sdnode.ll) @vpgather_truemask_nxv4i64 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -O2
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 4 x i64> @vpgather_truemask_nxv4i64(<vscale x 4 x ptr> %ptrs, i32 zeroext %evl) {
  %v = call <vscale x 4 x i64> @llvm.vp.gather.nxv4i64.nxv4p0(<vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> splat (i1 true), i32 %evl)
  %B = lshr i32 %evl, 0
  store i32 %B, ptr poison, align 4
  ret <vscale x 4 x i64> %v
}

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

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

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -O2 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.gather.nxv4i64.nxv4p0: '  %v = call <vscale x 4 x i64> @llvm.vp.gather.nxv4i64.nxv4p0(<vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> splat (i1 true), i32 %evl)' (in function: vpgather_truemask_nxv4i64)
warning: Instruction selection used fallback path for vpgather_truemask_nxv4i64

Occurrences (9):

InputFunctionConfig
nontemporal-vp-scalable.3df139f953.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv4i64_PALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O0 -code-model=small -verify-machineinstrs
nontemporal-vp-scalable.c26a1c3d21.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv4i64_S1-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zvfh -O0 -verify-machineinstrs
nontemporal-vp-scalable.fb5c4634af.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv4i64_ALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+zicond -O0 -code-model=medium -verify-machineinstrs
vpgather-sdnode.02727349b1.ll (mutant of vpgather-sdnode.ll)vpgather_nxv4i64-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zfhmin -O0
vpgather-sdnode.0a8714dc34.ll (mutant of vpgather-sdnode.ll)vpgather_truemask_nxv4i64-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -O2
vpgather-sdnode.18da941e8a.ll (mutant of vpgather-sdnode.ll)vpgather_nxv4i64-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O2
vpgather-sdnode.a8ffb7f053.ll (mutant of vpgather-sdnode.ll)vpgather_nxv4i64-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb,+xtheadba -O0
vpgather-sdnode.b71f953dcc.ll (mutant of vpgather-sdnode.ll)vpgather_truemask_nxv4i64-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zvkb -O0
vpgather-sdnode.d2e0784186.ll (mutant of vpgather-sdnode.ll)vpgather_nxv4i64-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -O3

Generated 2026-11-29 14:49 UTC.