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

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

Snippet:

@G.1 = external global ptr

define <vscale x 4 x double> @vpload_nxv4f64_allones_mask(ptr %ptr, i32 zeroext %evl) {
  %load = call <vscale x 4 x double> @llvm.vp.load.nxv4f64.p0(ptr %ptr, <vscale x 4 x i1> splat (i1 true), i32 %evl)
  %G = getelementptr <vscale x 4 x double>, ptr %ptr, i32 %evl
  store ptr %G, ptr @G.1, align 8
  ret <vscale x 4 x double> %load
}

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

Local llc output:

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

Occurrences (8):

InputFunctionConfig
nontemporal-vp-scalable.458117a1ff.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv4f64_DEFAULT-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v -O2 -verify-machineinstrs
nontemporal-vp-scalable.8b995727cd.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv4f64_P1-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O0 -verify-machineinstrs
nontemporal-vp-scalable.a4e4adc4bc.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv4f64_PALL-mtriple=riscv32 -mattr=+zihintntl,+d,+zfh,+v -O2 -verify-machineinstrs
vpload.2a70eb2666.ll (mutant of vpload.ll)vpload_nxv4f64_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zfhmin -O0
vpload.665f4dc4d9.ll (mutant of vpload.ll)vpload_nxv4f64-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O0
vpload.8081488f8a.ll (mutant of vpload.ll)vpload_nxv4f64_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O1
vpload.a147dcf080.ll (mutant of vpload.ll)vpload_nxv4f64_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O2 -code-model=medium
vpload.dec0d2ff6c.ll (mutant of vpload.ll)vpload_nxv4f64_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfbfmin,+v,+zicsr -O2

Generated 2026-11-29 14:49 UTC.