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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.load.nxv1i64.p0 M
Occurrences:11 in 8 configs, 2 test files, 8 more counted only
Snippet from:vpload.b916dda06e.ll (mutant of vpload.ll) @vpload_nxv1i64_allones_mask via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zicsr,+zfhmin -O0
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i1

define <vscale x 1 x i64> @vpload_nxv1i64_allones_mask(ptr %ptr, i32 zeroext %evl) {
  %C = icmp ult i32 %evl, 0
  %load = call <vscale x 1 x i64> @llvm.vp.load.nxv1i64.p0(ptr %ptr, <vscale x 1 x i1> splat (i1 true), i32 %evl)
  store i1 %C, ptr @G, align 1
  ret <vscale x 1 x i64> %load
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare <vscale x 1 x i64> @llvm.vp.load.nxv1i64.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,+zicsr,+zfhmin -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zicsr,+zfhmin -O0 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (11):

InputFunctionConfig
nontemporal-vp-scalable.47b3bff141.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv1i64_P1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+a -O1 -verify-machineinstrs
nontemporal-vp-scalable.6fd0301c99.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv1i64_PALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v -O3 -code-model=medium -verify-machineinstrs
nontemporal-vp-scalable.872ddb699e.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv1i64_DEFAULT-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O3 -verify-machineinstrs
nontemporal-vp-scalable.f96b4fb2a4.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv1i64_P1-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O3 -verify-machineinstrs
vpload.4f4ce16af7.ll (mutant of vpload.ll)vpload_nxv1i64-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+a,+zcb -O0
vpload.4f4ce16af7.ll (mutant of vpload.ll)unaligned_vpload_nxv1i64_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+a,+zcb -O0
vpload.601c449ada.ll (mutant of vpload.ll)vpload_nxv1i64_allones_mask-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O1
vpload.601c449ada.ll (mutant of vpload.ll)unaligned_vpload_nxv1i64_allones_mask-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O1
vpload.99b8df7eeb.ll (mutant of vpload.ll)unaligned_vpload_nxv1i64_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+c -O1
vpload.b916dda06e.ll (mutant of vpload.ll)vpload_nxv1i64_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zicsr,+zfhmin -O0
vpload.d284173358.ll (mutant of vpload.ll)vpload_nxv1i64_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O2

Generated 2026-11-29 14:49 UTC.