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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vp.load.nxv4i64.p0 M
Occurrences:4 in 4 configs, 2 test files, 3 more counted only
Snippet from:vpload.13e975d923.ll (mutant of vpload.ll) @vpload_nxv4i64 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:

@G.1 = external global i128

define <vscale x 4 x i64> @vpload_nxv4i64(ptr %ptr, <vscale x 4 x i1> %m, i32 zeroext %evl) {
  %LGV = load i128, ptr @G.1, align 4
  %load = call <vscale x 4 x i64> @llvm.vp.load.nxv4i64.p0(ptr %ptr, <vscale x 4 x i1> %m, i32 %evl)
  %B = xor i128 %LGV, 18446744073709551616
  store i128 %B, ptr @G.1, align 4
  ret <vscale x 4 x i64> %load
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare <vscale x 4 x i64> @llvm.vp.load.nxv4i64.p0(ptr captures(none), <vscale x 4 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.nxv4i64.p0: '  %load = call <vscale x 4 x i64> @llvm.vp.load.nxv4i64.p0(ptr %ptr, <vscale x 4 x i1> %m, i32 %evl)' (in function: vpload_nxv4i64)
warning: Instruction selection used fallback path for vpload_nxv4i64

Occurrences (4):

InputFunctionConfig
nontemporal-vp-scalable.0ba2631241.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv4i64_PALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O1 -verify-machineinstrs
nontemporal-vp-scalable.d5b748a22b.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv4i64_P1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+zba -O0 -verify-machineinstrs
vpload.13e975d923.ll (mutant of vpload.ll)vpload_nxv4i64-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zfhmin,+zfa -O3
vpload.981fe3750d.ll (mutant of vpload.ll)vpload_nxv4i64-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zihintpause -O1

Generated 2026-11-29 14:49 UTC.