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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.store.nxv8bf16.p0 M
Occurrences:4 in 4 configs, 1 test files, 2 more counted only
Snippet from:vpstore.dd5407dbb6.ll (mutant of vpstore.ll) @vpstore_nxv8bf16 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zbs,+zvbb -O0 -code-model=small
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i32
@G.1 = external global i32

define void @vpstore_nxv8bf16(<vscale x 8 x bfloat> %val, ptr %ptr, <vscale x 8 x i1> %m, i32 zeroext %evl) {
  %LGV = load i32, ptr @G, align 4
  call void @llvm.vp.store.nxv8bf16.p0(<vscale x 8 x bfloat> %val, ptr %ptr, <vscale x 8 x i1> %m, i32 %evl)
  %B = mul i32 %evl, %LGV
  store i32 %B, ptr @G.1, align 4
  ret void
}

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

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

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zbs,+zvbb -O0 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zbs,+zvbb -O0 -code-model=small -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (4):

InputFunctionConfig
vpstore.819b9b8d60.ll (mutant of vpstore.ll)vpstore_nxv8bf16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O3
vpstore.afe9d41e25.ll (mutant of vpstore.ll)vpstore_nxv8bf16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O3
vpstore.dd5407dbb6.ll (mutant of vpstore.ll)vpstore_nxv8bf16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zbs,+zvbb -O0 -code-model=small
vpstore.f94a8bca2f.ll (mutant of vpstore.ll)vpstore_nxv8bf16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O0

Generated 2026-11-29 14:49 UTC.