fallback: translate: call llvm.vp.gather.nxv8i16.nxv8p0

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.gather.nxv8i16.nxv8p0 M
Occurrences:5 in 5 configs, 2 test files
Snippet from:vpgather-sdnode.18da941e8a.ll (mutant of vpgather-sdnode.ll) @vpgather_nxv8i16 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O2
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 8 x i16> @vpgather_nxv8i16(<vscale x 8 x ptr> %ptrs, <vscale x 8 x i1> %m, i32 zeroext %evl) {
  %B = sub <vscale x 8 x i1> %m, splat (i1 true)
  %v = call <vscale x 8 x i16> @llvm.vp.gather.nxv8i16.nxv8p0(<vscale x 8 x ptr> %ptrs, <vscale x 8 x i1> %m, i32 %evl)
  store <vscale x 8 x i1> %B, ptr poison, align 1
  ret <vscale x 8 x i16> %v
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(read)
declare <vscale x 8 x i16> @llvm.vp.gather.nxv8i16.nxv8p0(<vscale x 8 x ptr>, <vscale x 8 x i1>, i32) #0

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.gather.nxv8i16.nxv8p0: '  %v = call <vscale x 8 x i16> @llvm.vp.gather.nxv8i16.nxv8p0(<vscale x 8 x ptr> %ptrs, <vscale x 8 x i1> %m, i32 %evl)' (in function: vpgather_nxv8i16)
warning: Instruction selection used fallback path for vpgather_nxv8i16

Occurrences (5):

InputFunctionConfig
nontemporal-vp-scalable.8e95573ee2.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv8i16_ALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O2 -verify-machineinstrs
nontemporal-vp-scalable.c7d9cc8764.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv8i16_DEFAULT-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zfa -O3 -verify-machineinstrs
nontemporal-vp-scalable.e87c976890.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv8i16_ALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+v,+zve32x -O0 -code-model=small -verify-machineinstrs
vpgather-sdnode.18da941e8a.ll (mutant of vpgather-sdnode.ll)vpgather_nxv8i16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O2
vpgather-sdnode.7e1301f645.ll (mutant of vpgather-sdnode.ll)vpgather_nxv8i16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zba,+zfa -O2

Generated 2026-11-29 14:49 UTC.