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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vp.gather.nxv2i32.nxv2p0 M
Occurrences:8 in 8 configs, 2 test files, 4 more counted only
Snippet from:nontemporal-vp-scalable.5364546857.ll (mutant of nontemporal-vp-scalable.ll) @test_nontemporal_vp_gather_nxv2i32_DEFAULT via llvm-extract
Config:-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zfa,+zve64d -O0 -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i1

define <vscale x 2 x i32> @test_nontemporal_vp_gather_nxv2i32_DEFAULT(<vscale x 2 x ptr> %ptrs, i32 zeroext %vl) {
  %C = icmp ule i32 %vl, %vl
  %x = call <vscale x 2 x i32> @llvm.vp.gather.nxv2i32.nxv2p0(<vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> splat (i1 true), i32 %vl), !nontemporal !0
  store i1 %C, ptr @G, align 1
  ret <vscale x 2 x i32> %x
}

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

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

!0 = !{i32 1}

Reproduce:

llc -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zfa,+zve64d -O0 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zfa,+zve64d -O0 -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.gather.nxv2i32.nxv2p0: '  %x = call <vscale x 2 x i32> @llvm.vp.gather.nxv2i32.nxv2p0(<vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> splat (i1 true), i32 %vl), !nontemporal !1' (in function: test_nontemporal_vp_gather_nxv2i32_DEFAULT)
warning: Instruction selection used fallback path for test_nontemporal_vp_gather_nxv2i32_DEFAULT

Occurrences (8):

InputFunctionConfig
nontemporal-vp-scalable.476b0f5f0a.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv2i32_DEFAULT-mtriple=riscv64 -mattr=+zihintntl,+f,+zfh,+v -O1 -verify-machineinstrs
nontemporal-vp-scalable.5364546857.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv2i32_DEFAULT-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zfa,+zve64d -O0 -verify-machineinstrs
nontemporal-vp-scalable.55cd71e81d.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv2i32_DEFAULT-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+zbkb -O2 -verify-machineinstrs
nontemporal-vp-scalable.69f1abd64e.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv2i32_P1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O3 -verify-machineinstrs
nontemporal-vp-scalable.7464b78ce6.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv2i32_PALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+zve64d -O3 -verify-machineinstrs
nontemporal-vp-scalable.ee3a8f3af1.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv2i32_DEFAULT-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+zcb -O3 -verify-machineinstrs
vpgather-sdnode.8068ad9e60.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i32_sextload_nxv2i64-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb,+zfa,+c -O3
vpgather-sdnode.d2875bc25b.ll (mutant of vpgather-sdnode.ll)vpgather_nxv2i32_zextload_nxv2i64-mtriple=riscv32 -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+v,+zicond -O3

Generated 2026-11-29 14:49 UTC.