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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vp.load.nxv8i64.p0 M
Occurrences:3 in 3 configs, 2 test files, 6 more counted only
Snippet from:vpload.67de7df343.ll (mutant of vpload.ll) @vpload_nxv8i64 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O1
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 8 x i64> @vpload_nxv8i64(ptr %ptr, <vscale x 8 x i1> %m, i32 zeroext %evl) {
  %A = alloca i32, align 4
  store i32 poison, ptr %A, align 4
  %B = sdiv i32 %evl, %evl
  %load = call <vscale x 8 x i64> @llvm.vp.load.nxv8i64.p0(ptr %ptr, <vscale x 8 x i1> %m, i32 %evl)
  store i32 %B, ptr %A, align 4
  ret <vscale x 8 x i64> %load
}

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

Local llc output:

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

Occurrences (3):

InputFunctionConfig
nontemporal-vp-scalable.dba36f834f.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv8i64_P1-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+v,+c,+zfa -O0 -verify-machineinstrs
vpload.67de7df343.ll (mutant of vpload.ll)vpload_nxv8i64-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O1
vpload.79e11a6a9f.ll (mutant of vpload.ll)vpload_nxv8i64-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O1

Generated 2026-11-29 14:49 UTC.