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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vp.store.nxv2bf16.p0 M
Occurrences:3 in 3 configs, 1 test files, 6 more counted only
Snippet from:vpstore.36a4c8d823.ll (mutant of vpstore.ll) @vpstore_nxv2bf16 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zba -O3
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i8

define void @vpstore_nxv2bf16(<vscale x 2 x bfloat> %val, ptr %ptr, <vscale x 2 x i1> %m, i32 zeroext %evl) {
  call void @llvm.vp.store.nxv2bf16.p0(<vscale x 2 x bfloat> %val, ptr %ptr, <vscale x 2 x i1> %m, i32 %evl)
  %B = and i8 16, -128
  store i8 %B, ptr @G, align 1
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: write)
declare void @llvm.vp.store.nxv2bf16.p0(<vscale x 2 x bfloat>, ptr captures(none), <vscale x 2 x i1>, i32) #0

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: write) }

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zba -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zba -O3 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (3):

InputFunctionConfig
vpstore.36a4c8d823.ll (mutant of vpstore.ll)vpstore_nxv2bf16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zba -O3
vpstore.3e53991ef7.ll (mutant of vpstore.ll)vpstore_nxv2bf16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfbfmin,+v,+m -O2
vpstore.7d3c971405.ll (mutant of vpstore.ll)vpstore_nxv2bf16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zbkb,+zicsr -O0

Generated 2026-11-29 14:49 UTC.