fallback: translate: call llvm.vp.gather.nxv2i16.nxv2p0

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vp.gather.nxv2i16.nxv2p0 M
Occurrences:11 in 10 configs, 2 test files, 12 more counted only
Snippet from:vpgather-sdnode.9daee11d6f.ll (mutant of vpgather-sdnode.ll) @vpgather_nxv2i16 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfbfmin,+v,+a -O3
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global <8 x i8>

define <vscale x 2 x i16> @vpgather_nxv2i16(<vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 zeroext %evl) {
  %I = insertelement <8 x i8> splat (i8 16), i8 127, i32 65536
  %v = call <vscale x 2 x i16> @llvm.vp.gather.nxv2i16.nxv2p0(<vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 %evl)
  store <8 x i8> %I, ptr @G.2, align 8
  ret <vscale x 2 x i16> %v
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (11):

InputFunctionConfig
nontemporal-vp-scalable.41862ab200.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv2i16_P1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+v,+c,+zfhmin -O0 -verify-machineinstrs
nontemporal-vp-scalable.4e2b3f0e2d.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv2i16_P1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+m -O3 -verify-machineinstrs
nontemporal-vp-scalable.9ac86c12fd.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv2i16_ALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v -O1 -verify-machineinstrs
nontemporal-vp-scalable.d4ab89fb0d.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv2i16_S1-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zicond,+zbs -O3 -verify-machineinstrs
vpgather-sdnode.09e8bab996.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i16_sextload_nxv2i32-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb,+zve64d -O1
vpgather-sdnode.5f451d61e5.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i16_sextload_nxv2i32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -O1
vpgather-sdnode.9503c906ee.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i16_sextload_nxv2i64-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O0
vpgather-sdnode.9d688e9765.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i16_sextload_nxv2i32-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O2
vpgather-sdnode.9daee11d6f.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfbfmin,+v,+a -O3
vpgather-sdnode.e3bce02dda.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i16_sextload_nxv2i32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zvfh -O2
vpgather-sdnode.e3bce02dda.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i16_zextload_nxv2i64-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zvfh -O2

Generated 2026-11-29 14:49 UTC.