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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vp.load.nxv2bf16.p0 M
Occurrences:7 in 6 configs, 1 test files, 9 more counted only
Snippet from:vpload.fd932f4391.ll (mutant of vpload.ll) @vpload_nxv2bf16_allones_mask via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O0
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.3 = external global ptr

define <vscale x 2 x bfloat> @vpload_nxv2bf16_allones_mask(ptr %ptr, i32 zeroext %evl) {
  %load = call <vscale x 2 x bfloat> @llvm.vp.load.nxv2bf16.p0(ptr %ptr, <vscale x 2 x i1> splat (i1 true), i32 %evl)
  %G = getelementptr <4 x i32>, ptr %ptr, i32 %evl
  store ptr %G, ptr @G.3, align 8
  ret <vscale x 2 x bfloat> %load
}

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

Local llc output:

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

Occurrences (7):

InputFunctionConfig
vpload.005ae724d0.ll (mutant of vpload.ll)vpload_nxv2bf16_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+c,+zvbb -O2
vpload.0be8335805.ll (mutant of vpload.ll)vpload_nxv2bf16_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O1
vpload.1df28146e5.ll (mutant of vpload.ll)vpload_nxv2bf16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O0
vpload.487fd68a72.ll (mutant of vpload.ll)vpload_nxv2bf16_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O2
vpload.981fe3750d.ll (mutant of vpload.ll)vpload_nxv2bf16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zihintpause -O1
vpload.981fe3750d.ll (mutant of vpload.ll)vpload_nxv2bf16_allones_mask-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zihintpause -O1
vpload.fd932f4391.ll (mutant of vpload.ll)vpload_nxv2bf16_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O0

Generated 2026-11-29 14:49 UTC.