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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vp.store.nxv4bf16.p0 M
Occurrences:4 in 4 configs, 1 test files, 5 more counted only
Snippet from:vpstore.8a4e213142.ll (mutant of vpstore.ll) @vpstore_nxv4bf16 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O1
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global ptr

define void @vpstore_nxv4bf16(<vscale x 4 x bfloat> %val, ptr %ptr, <vscale x 4 x i1> %m, i32 zeroext %evl) {
  %G = getelementptr i64, ptr %ptr, i32 0
  call void @llvm.vp.store.nxv4bf16.p0(<vscale x 4 x bfloat> %val, ptr %ptr, <vscale x 4 x i1> %m, i32 %evl)
  store ptr %G, ptr @G.1, align 8
  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,+zvfhmin,+zvfbfmin,+v -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O1 -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 (4):

InputFunctionConfig
vpstore.2f986de62e.ll (mutant of vpstore.ll)vpstore_nxv4bf16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zcb,+zbs -O2
vpstore.6a918ba4d1.ll (mutant of vpstore.ll)vpstore_nxv4bf16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+zvbb -O3
vpstore.8a4e213142.ll (mutant of vpstore.ll)vpstore_nxv4bf16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O1
vpstore.9e5b06b83a.ll (mutant of vpstore.ll)vpstore_nxv4bf16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O3 -code-model=small

Generated 2026-11-29 14:49 UTC.