fallback: translate: call llvm.vp.load.nxv1i32.p0

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vp.load.nxv1i32.p0 M
Occurrences:7 in 6 configs, 2 test files, 2 more counted only
Snippet from:vpload.13e975d923.ll (mutant of vpload.ll) @vpload_nxv1i32 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zfhmin,+zfa -O3
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 1 x i32> @vpload_nxv1i32(ptr %ptr, <vscale x 1 x i1> %m, i32 zeroext %evl) {
  %load = call <vscale x 1 x i32> @llvm.vp.load.nxv1i32.p0(ptr %ptr, <vscale x 1 x i1> %m, i32 %evl)
  %B = ashr <vscale x 1 x i32> %load, %load
  ret <vscale x 1 x i32> %B
}

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

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.load.nxv1i32.p0: '  %load = call <vscale x 1 x i32> @llvm.vp.load.nxv1i32.p0(ptr %ptr, <vscale x 1 x i1> %m, i32 %evl)' (in function: vpload_nxv1i32)
warning: Instruction selection used fallback path for vpload_nxv1i32

Occurrences (7):

InputFunctionConfig
nontemporal-vp-scalable.1ac061dbf9.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv1i32_ALL-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O0 -verify-machineinstrs
nontemporal-vp-scalable.2c72ee5491.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv1i32_DEFAULT-mtriple=riscv64 -mattr=+f,+d,+zfh,+v,+zfa -O1 -verify-machineinstrs
nontemporal-vp-scalable.96c96932bd.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv1i32_DEFAULT-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O0 -verify-machineinstrs
nontemporal-vp-scalable.a6adce7780.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv1i32_PALL-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O1 -verify-machineinstrs
vpload.13e975d923.ll (mutant of vpload.ll)vpload_nxv1i32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zfhmin,+zfa -O3
vpload.67aba8d917.ll (mutant of vpload.ll)vpload_nxv1i32-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O2
vpload.e3d131b176.ll (mutant of vpload.ll)vpload_nxv1i32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zve32x,+zbs -O0 -code-model=small

Generated 2026-11-29 14:49 UTC.