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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.load.ff.nxv4i64.p0 M
Occurrences:3 in 3 configs, 1 test files, 8 more counted only
Snippet from:vploadff.0d94175453.ll (mutant of vploadff.ll) @vploadff_nxv4i64_allones_mask via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zcb,+zicsr -O1
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global double

define { <vscale x 4 x i64>, i32 } @vploadff_nxv4i64_allones_mask(ptr %ptr, i32 zeroext %evl) {
  %LGV = load double, ptr @G, align 8
  %load = call { <vscale x 4 x i64>, i32 } @llvm.vp.load.ff.nxv4i64.p0(ptr %ptr, <vscale x 4 x i1> splat (i1 true), i32 %evl)
  %B = fdiv double %LGV, +qnan
  store double %B, ptr @G, align 8
  ret { <vscale x 4 x i64>, i32 } %load
}

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

Local llc output:

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

Occurrences (3):

InputFunctionConfig
vploadff.0d94175453.ll (mutant of vploadff.ll)vploadff_nxv4i64_allones_mask-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zcb,+zicsr -O1
vploadff.5ea109048e.ll (mutant of vploadff.ll)vploadff_nxv4i64-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O0 -code-model=small
vploadff.f0f572b07c.ll (mutant of vploadff.ll)vploadff_nxv4i64_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zvfh,+zbb -O1

Generated 2026-11-29 14:49 UTC.