fallback: translate: call llvm.vp.gather.nxv1i32.nxv1p0

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

Snippet:

define <vscale x 1 x i32> @test_nontemporal_vp_gather_nxv1i32_PALL(<vscale x 1 x ptr> %ptrs, i32 zeroext %vl) {
  %B = lshr i32 %vl, %vl
  %x = call <vscale x 1 x i32> @llvm.vp.gather.nxv1i32.nxv1p0(<vscale x 1 x ptr> %ptrs, <vscale x 1 x i1> splat (i1 true), i32 %B), !nontemporal !0, !riscv-nontemporal-domain !1
  ret <vscale x 1 x i32> %x
}

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

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

!0 = !{i32 1}
!1 = !{i32 3}

Reproduce:

llc -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O2 -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 -O2 -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.gather.nxv1i32.nxv1p0: '  %x = call <vscale x 1 x i32> @llvm.vp.gather.nxv1i32.nxv1p0(<vscale x 1 x ptr> %ptrs, <vscale x 1 x i1> splat (i1 true), i32 %B), !nontemporal !2, !riscv-nontemporal-domain !3' (in function: test_nontemporal_vp_gather_nxv1i32_PALL)
warning: Instruction selection used fallback path for test_nontemporal_vp_gather_nxv1i32_PALL

Occurrences (5):

InputFunctionConfig
nontemporal-vp-scalable.11aef2c9a9.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv1i32_P1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v -O1 -verify-machineinstrs
nontemporal-vp-scalable.2437154986.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv1i32_PALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O2 -verify-machineinstrs
nontemporal-vp-scalable.c98a36832d.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv1i32_S1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v -O2 -verify-machineinstrs
vpgather-sdnode.75122c2262.ll (mutant of vpgather-sdnode.ll)vpgather_nxv1i32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfbfmin,+v,+c -O2 -code-model=medium
vpgather-sdnode.d4fbd7633b.ll (mutant of vpgather-sdnode.ll)vpgather_nxv1i32-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb -O0

Generated 2026-11-29 14:49 UTC.