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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.load.nxv1i32.p0 M
Occurrences:6 in 6 configs, 2 test files, 3 more counted only
Snippet from:vpload.522916281d.ll (mutant of vpload.ll) @vpload_nxv1i32 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zcb,+c -O3
Local check:reproduces at db12fc36f6
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)
  %C = icmp ne <vscale x 1 x i1> %m, %m
  store <vscale x 1 x i1> %C, ptr poison, align 1
  ret <vscale x 1 x i32> %load
}

; 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=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zcb,+c -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zcb,+c -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 (6):

InputFunctionConfig
nontemporal-vp-scalable.56dc88cd1e.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv1i32_ALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v -O0 -verify-machineinstrs
nontemporal-vp-scalable.6040785bee.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv1i32_ALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+v,+c,+a -O3 -verify-machineinstrs
nontemporal-vp-scalable.a119347dbe.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv1i32_S1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O2 -verify-machineinstrs
nontemporal-vp-scalable.c26a1c3d21.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv1i32_P1-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zvfh -O0 -verify-machineinstrs
nontemporal-vp-scalable.d561f53dd3.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv1i32_ALL-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O3 -verify-machineinstrs
vpload.522916281d.ll (mutant of vpload.ll)vpload_nxv1i32-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zcb,+c -O3

Generated 2026-11-29 14:49 UTC.