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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vp.store.nxv4i8.p0 M
Occurrences:4 in 4 configs, 2 test files, 3 more counted only
Snippet from:vpstore.e246596787.ll (mutant of vpstore.ll) @vpstore_nxv4i8 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zve32x -O3
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @vpstore_nxv4i8(<vscale x 4 x i8> %val, ptr %ptr, <vscale x 4 x i1> %m, i32 zeroext %evl) {
  call void @llvm.vp.store.nxv4i8.p0(<vscale x 4 x i8> %val, ptr %ptr, <vscale x 4 x i1> %m, i32 %evl)
  %B = shl i32 %evl, %evl
  store i32 %B, ptr poison, align 4
  ret void
}

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

Local llc output:

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

Occurrences (4):

InputFunctionConfig
nontemporal-vp-scalable.7813e579bb.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_store_nxv4i8_P1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O1 -verify-machineinstrs
nontemporal-vp-scalable.ee05510fa0.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_store_nxv4i8_ALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+xtheadba -O2 -verify-machineinstrs
vpstore.db0835789e.ll (mutant of vpstore.ll)vpstore_nxv4i8-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O2 -code-model=small
vpstore.e246596787.ll (mutant of vpstore.ll)vpstore_nxv4i8-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zve32x -O3

Generated 2026-11-29 14:49 UTC.