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

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

Snippet:

@G = external global i64

define { <vscale x 2 x i32>, i32 } @vploadff_nxv2i32_allones_mask(ptr %ptr, i32 zeroext %evl) {
  %B = ashr i64 0, 0
  %load = call { <vscale x 2 x i32>, i32 } @llvm.vp.load.ff.nxv2i32.p0(ptr %ptr, <vscale x 2 x i1> splat (i1 true), i32 %evl)
  store i64 %B, ptr @G, align 4
  ret { <vscale x 2 x i32>, i32 } %load
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare { <vscale x 2 x i32>, i32 } @llvm.vp.load.ff.nxv2i32.p0(ptr captures(none), <vscale x 2 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 -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -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.ff.nxv2i32.p0: '  %load = call { <vscale x 2 x i32>, i32 } @llvm.vp.load.ff.nxv2i32.p0(ptr %ptr, <vscale x 2 x i1> splat (i1 true), i32 %evl)' (in function: vploadff_nxv2i32_allones_mask)
warning: Instruction selection used fallback path for vploadff_nxv2i32_allones_mask

Occurrences (3):

InputFunctionConfig
vploadff.26ab5738fc.ll (mutant of vploadff.ll)vploadff_nxv2i32_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+v,+m -O0
vploadff.847b8ead96.ll (mutant of vploadff.ll)vploadff_nxv2i32-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O0
vploadff.e9ddd6b0ec.ll (mutant of vploadff.ll)vploadff_nxv2i32_allones_mask-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O1

Generated 2026-11-29 14:49 UTC.