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

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

Snippet:

define void @vpstore_nxv4bf16(<vscale x 4 x bfloat> %val, ptr %ptr, <vscale x 4 x i1> %m, i32 zeroext %evl) {
  call void @llvm.vp.store.nxv4bf16.p0(<vscale x 4 x bfloat> %val, ptr %ptr, <vscale x 4 x i1> %m, i32 %evl)
  %C = fcmp ugt float 1.000000e+00, 0.000000e+00
  store i1 %C, ptr poison, align 1
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: write)
declare void @llvm.vp.store.nxv4bf16.p0(<vscale x 4 x bfloat>, ptr captures(none), <vscale x 4 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 -O3 -code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O3 -code-model=medium -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (3):

InputFunctionConfig
vpstore.33bdbef135.ll (mutant of vpstore.ll)vpstore_nxv4bf16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O3 -code-model=medium
vpstore.adc945c84a.ll (mutant of vpstore.ll)vpstore_nxv4bf16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O1
vpstore.c4454cc366.ll (mutant of vpstore.ll)vpstore_nxv4bf16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zbkb -O0

Generated 2026-11-29 14:49 UTC.