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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.store.nxv1i8.p0 M
Occurrences:7 in 7 configs, 2 test files, 8 more counted only
Snippet from:vpstore.38b1cb73c0.ll (mutant of vpstore.ll) @vpstore_nxv1i8_allones_mask via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+v,+zba -O2
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @vpstore_nxv1i8_allones_mask(<vscale x 1 x i8> %val, ptr %ptr, i32 zeroext %evl) {
  call void @llvm.vp.store.nxv1i8.p0(<vscale x 1 x i8> %val, ptr %ptr, <vscale x 1 x i1> splat (i1 true), i32 %evl)
  %C = icmp ne <vscale x 1 x i8> %val, splat (i8 -1)
  store <vscale x 1 x i1> %C, ptr poison, align 1
  ret void
}

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

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.store.nxv1i8.p0: '  call void @llvm.vp.store.nxv1i8.p0(<vscale x 1 x i8> %val, ptr %ptr, <vscale x 1 x i1> splat (i1 true), i32 %evl)' (in function: vpstore_nxv1i8_allones_mask)
warning: Instruction selection used fallback path for vpstore_nxv1i8_allones_mask

Occurrences (7):

InputFunctionConfig
nontemporal-vp-scalable.274f7f8a06.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_store_nxv1i8_P1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v -O1 -verify-machineinstrs
nontemporal-vp-scalable.fb5c4634af.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_store_nxv1i8_S1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+zicond -O0 -code-model=medium -verify-machineinstrs
vpstore.1f9ac0f408.ll (mutant of vpstore.ll)vpstore_nxv1i8_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O2 -code-model=small
vpstore.38b1cb73c0.ll (mutant of vpstore.ll)vpstore_nxv1i8_allones_mask-mtriple=riscv64 -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+v,+zba -O2
vpstore.6ec8ca26ef.ll (mutant of vpstore.ll)vpstore_nxv1i8-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zicsr -O0
vpstore.7761184ec7.ll (mutant of vpstore.ll)vpstore_nxv1i8_allones_mask-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+v,+zvbb -O2
vpstore.bcad15e3d0.ll (mutant of vpstore.ll)vpstore_nxv1i8_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfbfmin,+v -O1

Generated 2026-11-29 14:49 UTC.