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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.load.nxv1i8.p0 M
Occurrences:6 in 5 configs, 2 test files, 8 more counted only
Snippet from:vpload.3b40e91ec8.ll (mutant of vpload.ll) @vpload_nxv1i8_allones_mask via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+v -O0
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.3 = external global <2 x i64>
@G.4 = external global <2 x i64>

define <vscale x 1 x i8> @vpload_nxv1i8_allones_mask(ptr %ptr, i32 zeroext %evl) {
  %LGV = load <2 x i64>, ptr @G.3, align 16
  %load = call <vscale x 1 x i8> @llvm.vp.load.nxv1i8.p0(ptr %ptr, <vscale x 1 x i1> splat (i1 true), i32 %evl)
  %B = udiv <2 x i64> splat (i64 4294967296), %LGV
  store <2 x i64> %B, ptr @G.4, align 16
  ret <vscale x 1 x i8> %load
}

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

Local llc output:

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

Occurrences (6):

InputFunctionConfig
nontemporal-vp-scalable.1f665ad348.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv1i8_PALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v -O3 -verify-machineinstrs
vpload.309786c0d0.ll (mutant of vpload.ll)vpload_nxv1i8-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zve64d,+zfa -O0
vpload.371510c5f1.ll (mutant of vpload.ll)vpload_nxv1i8_allones_mask-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zvbb -O2
vpload.371510c5f1.ll (mutant of vpload.ll)vpload_nxv1i8_passthru-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zvbb -O2
vpload.3b40e91ec8.ll (mutant of vpload.ll)vpload_nxv1i8_allones_mask-mtriple=riscv64 -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+v -O0
vpload.fb8cff47d3.ll (mutant of vpload.ll)vpload_nxv1i8_passthru-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O3

Generated 2026-11-29 14:49 UTC.