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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vp.gather.nxv2i8.nxv2p0 M
Occurrences:6 in 6 configs, 2 test files, 13 more counted only
Snippet from:vpgather-sdnode.47a3e98826.ll (mutant of vpgather-sdnode.ll) @vpgather_nxv2i8 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb,+zbb -O0
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global double
@G.1 = external global i1

define <vscale x 2 x i8> @vpgather_nxv2i8(<vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 zeroext %evl) {
  %LGV = load double, ptr @G, align 8
  %C = fcmp true double +inf, %LGV
  %v = call <vscale x 2 x i8> @llvm.vp.gather.nxv2i8.nxv2p0(<vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 %evl)
  store i1 %C, ptr @G.1, align 1
  ret <vscale x 2 x i8> %v
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(read)
declare <vscale x 2 x i8> @llvm.vp.gather.nxv2i8.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,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb,+zbb -O0 -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,+zbb -O0 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (6):

InputFunctionConfig
nontemporal-vp-scalable.7813e579bb.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv2i8_DEFAULT-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O1 -verify-machineinstrs
nontemporal-vp-scalable.aa9bac86ef.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv2i8_ALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+m -O0 -verify-machineinstrs
vpgather-sdnode.47a3e98826.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i8-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb,+zbb -O0
vpgather-sdnode.9daee11d6f.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i8_sextload_nxv2i16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfbfmin,+v,+a -O3
vpgather-sdnode.b4318aa416.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i8_sextload_nxv2i32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb,+xtheadba,+zve64d -O0
vpgather-sdnode.c5b54566c9.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i8-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O2

Generated 2026-11-29 14:49 UTC.