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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vp.gather.nxv2i8.nxv2p0 M
Occurrences:13 in 13 configs, 2 test files, 18 more counted only
Snippet from:vpgather-sdnode.c9da2a5d46.ll (mutant of vpgather-sdnode.ll) @vpgather_nxv2i8 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zicond -O1
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global <4 x i1>

define <vscale x 2 x i8> @vpgather_nxv2i8(<vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 zeroext %evl) {
  %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)
  %C = fcmp uno <4 x float> splat (float +inf), splat (float 4.200000e+01)
  store <4 x i1> %C, ptr @G, 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=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zicond -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zicond -O1 -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 (13):

InputFunctionConfig
nontemporal-vp-scalable.29ce6f5332.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv2i8_S1-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O2 -verify-machineinstrs
nontemporal-vp-scalable.5aa6b5c394.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv2i8_DEFAULT-mtriple=riscv64 -mattr=+zihintntl,+d,+zfh,+v,+c,+a -O3 -verify-machineinstrs
nontemporal-vp-scalable.a98efa6fca.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv2i8_DEFAULT-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+zbb -O0 -verify-machineinstrs
nontemporal-vp-scalable.e153f22d7c.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv2i8_P1-mtriple=riscv64 -mattr=+zihintntl,+f,+zfh,+v -O3 -verify-machineinstrs
vpgather-sdnode.1beee7cfae.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i8_sextload_nxv2i16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v -O1
vpgather-sdnode.1fbaaa0b6d.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i8_sextload_nxv2i64-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zfh,+zfhmin -O2 -code-model=medium
vpgather-sdnode.6e5023c6c1.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i8_sextload_nxv2i16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+xtheadba -O3 -code-model=medium
vpgather-sdnode.76d0b6d106.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i8-mtriple=riscv64 -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+v -O1
vpgather-sdnode.7b691688ec.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i8_zextload_nxv2i64-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfbfmin,+v,+zvbb -O1
vpgather-sdnode.c1d6917d7d.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i8_zextload_nxv2i16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb,+zve32x -O3
vpgather-sdnode.c8c3f82499.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i8_zextload_nxv2i32-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zvbb,+c -O3
vpgather-sdnode.c9da2a5d46.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i8-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zicond -O1
vpgather-sdnode.f597c771a4.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i8_zextload_nxv2i64-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O1

Generated 2026-11-29 14:49 UTC.