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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.store.nxv1i16.p0 M
Occurrences:7 in 7 configs, 2 test files, 4 more counted only
Snippet from:vpstore.03d48a665d.ll (mutant of vpstore.ll) @vpstore_nxv1i16 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+v,+zbkb -O3
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global <4 x i1>

define void @vpstore_nxv1i16(<vscale x 1 x i16> %val, ptr %ptr, <vscale x 1 x i1> %m, i32 zeroext %evl) {
  call void @llvm.vp.store.nxv1i16.p0(<vscale x 1 x i16> %val, ptr %ptr, <vscale x 1 x i1> %m, i32 %evl)
  %C = icmp uge <4 x i32> splat (i32 -2147483648), splat (i32 1)
  store <4 x i1> %C, ptr @G.1, align 1
  ret void
}

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

Local llc output:

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

Occurrences (7):

InputFunctionConfig
nontemporal-vp-scalable.1255322a9f.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_store_nxv1i16_ALL-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O0 -verify-machineinstrs
nontemporal-vp-scalable.43f3f04fba.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_store_nxv1i16_DEFAULT-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zfa,+zvbb -O3 -code-model=medium -verify-machineinstrs
nontemporal-vp-scalable.d8c262f1cf.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_store_nxv1i16_S1-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O3 -verify-machineinstrs
nontemporal-vp-scalable.fb5c4634af.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_store_nxv1i16_ALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+zicond -O0 -code-model=medium -verify-machineinstrs
vpstore.03d48a665d.ll (mutant of vpstore.ll)vpstore_nxv1i16-mtriple=riscv32 -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+v,+zbkb -O3
vpstore.5a02420ba8.ll (mutant of vpstore.ll)vpstore_nxv1i16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O1
vpstore.c2f1f3de28.ll (mutant of vpstore.ll)vpstore_nxv1i16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+v -O2

Generated 2026-11-29 14:49 UTC.