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

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

Snippet:

define <vscale x 4 x i32> @vpgather_truemask_nxv4i32(<vscale x 4 x ptr> %ptrs, i32 zeroext %evl) {
  %C = fcmp une bfloat +inf, 3.389530e+38
  %v = call <vscale x 4 x i32> @llvm.vp.gather.nxv4i32.nxv4p0(<vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> splat (i1 true), i32 %evl)
  store i1 %C, ptr poison, align 1
  ret <vscale x 4 x i32> %v
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(read)
declare <vscale x 4 x i32> @llvm.vp.gather.nxv4i32.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=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -O0 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (4):

InputFunctionConfig
nontemporal-vp-scalable.22766ef220.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv4i32_PALL-mtriple=riscv64 -mattr=+zihintntl,+d,+zfh,+v,+c -O3 -verify-machineinstrs
nontemporal-vp-scalable.351fb66bce.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv4i32_DEFAULT-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+zfhmin -O1 -verify-machineinstrs
vpgather-sdnode.61cc88d7f8.ll (mutant of vpgather-sdnode.ll)vpgather_truemask_nxv4i32-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -O0
vpgather-sdnode.aee48b1db5.ll (mutant of vpgather-sdnode.ll)vpgather_nxv4i32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+xtheadba -O1

Generated 2026-11-29 14:49 UTC.