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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.load.ff.nxv2bf16.p0 M
Occurrences:4 in 4 configs, 1 test files, 4 more counted only
Snippet from:vploadff.fbd5516a1d.ll (mutant of vploadff.ll) @vploadff_nxv2bf16 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m -O3
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define { <vscale x 2 x bfloat>, i32 } @vploadff_nxv2bf16(ptr %ptr, <vscale x 2 x i1> %m, i32 zeroext %evl) {
  %load = call { <vscale x 2 x bfloat>, i32 } @llvm.vp.load.ff.nxv2bf16.p0(ptr %ptr, <vscale x 2 x i1> %m, i32 %evl)
  %C = icmp sgt <vscale x 4 x i1> zeroinitializer, zeroinitializer
  store <vscale x 4 x i1> %C, ptr poison, align 1
  ret { <vscale x 2 x bfloat>, i32 } %load
}

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.load.ff.nxv2bf16.p0: '  %load = call { <vscale x 2 x bfloat>, i32 } @llvm.vp.load.ff.nxv2bf16.p0(ptr %ptr, <vscale x 2 x i1> %m, i32 %evl)' (in function: vploadff_nxv2bf16)
warning: Instruction selection used fallback path for vploadff_nxv2bf16

Occurrences (4):

InputFunctionConfig
vploadff.83b7f6ece2.ll (mutant of vploadff.ll)vploadff_nxv2bf16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m,+zcb -O2
vploadff.b097489cd0.ll (mutant of vploadff.ll)vploadff_nxv2bf16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zbb -O0
vploadff.f20688733e.ll (mutant of vploadff.ll)vploadff_nxv2bf16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfbfmin,+v -O3
vploadff.fbd5516a1d.ll (mutant of vploadff.ll)vploadff_nxv2bf16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m -O3

Generated 2026-11-29 14:49 UTC.