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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vp.store.nxv1i8.p0 M
Occurrences:14 in 13 configs, 2 test files, 21 more counted only
Snippet from:vpstore.bc8ae1cf0f.ll (mutant of vpstore.ll) @vpstore_nxv1i8_allones_mask via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O3
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i32

define void @vpstore_nxv1i8_allones_mask(<vscale x 1 x i8> %val, ptr %ptr, i32 zeroext %evl) {
  %B = sub i32 %evl, %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)
  store i32 %B, ptr @G, align 4
  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=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O3 -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 (14):

InputFunctionConfig
nontemporal-vp-scalable.4edaaaeea2.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_store_nxv1i8_S1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v -O1 -verify-machineinstrs
nontemporal-vp-scalable.56bea666a6.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_store_nxv1i8_ALL-mtriple=riscv32 -mattr=+zihintntl,+d,+zfh,+v -O1 -verify-machineinstrs
nontemporal-vp-scalable.dc99a17540.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_store_nxv1i8_PALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v -O2 -code-model=medium -verify-machineinstrs
vpstore.3f6e58d13d.ll (mutant of vpstore.ll)vpstore_nxv1i8-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O0
vpstore.446f18862d.ll (mutant of vpstore.ll)vpstore_nxv1i8_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+f,+zvfh -O2
vpstore.47a1075657.ll (mutant of vpstore.ll)vpstore_nxv1i8_allones_mask-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zve32x -O3
vpstore.49b478d3ab.ll (mutant of vpstore.ll)vpstore_nxv1i8-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+v -O2
vpstore.49b478d3ab.ll (mutant of vpstore.ll)vpstore_nxv1i8_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+v -O2
vpstore.8965e7dec8.ll (mutant of vpstore.ll)vpstore_nxv1i8_allones_mask-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+v -O3
vpstore.95e0debb72.ll (mutant of vpstore.ll)vpstore_nxv1i8_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zve32x -O2
vpstore.bc8ae1cf0f.ll (mutant of vpstore.ll)vpstore_nxv1i8_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O3
vpstore.c3216f06ff.ll (mutant of vpstore.ll)vpstore_nxv1i8-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+xtheadba -O0
vpstore.d7c4ac3c7a.ll (mutant of vpstore.ll)vpstore_nxv1i8-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O0
vpstore.dd4ff4e2d4.ll (mutant of vpstore.ll)vpstore_nxv1i8-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O2

Generated 2026-11-29 14:49 UTC.