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

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

Snippet:

@G = external global i1

define void @vpstore_nxv4i32(<vscale x 4 x i32> %val, ptr %ptr, <vscale x 4 x i1> %m, i32 zeroext %evl) {
  %LGV = load i1, ptr @G, align 1
  %C = icmp sgt i1 false, %LGV
  call void @llvm.vp.store.nxv4i32.p0(<vscale x 4 x i32> %val, ptr %ptr, <vscale x 4 x i1> %m, i32 %evl)
  store i1 %C, ptr @G, align 1
  ret void
}

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

Local llc output:

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

Occurrences (6):

InputFunctionConfig
nontemporal-vp-scalable.284046e337.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_store_nxv4i32_P1-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zbb,+zbkb -O3 -code-model=small -verify-machineinstrs
vpstore.8377bb5a1f.ll (mutant of vpstore.ll)vpstore_nxv4i32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O0
vpstore.84dc944d06.ll (mutant of vpstore.ll)vpstore_nxv4i32-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+c,+xtheadba -O1 -code-model=small
vpstore.9ffb1faddb.ll (mutant of vpstore.ll)vpstore_nxv4i32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O3
vpstore.a80f90f3b2.ll (mutant of vpstore.ll)vpstore_nxv4i32-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zfa -O2
vpstore.fdb8d1a5d5.ll (mutant of vpstore.ll)vpstore_nxv4i32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O0

Generated 2026-11-29 14:49 UTC.