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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.store.nxv4i16.p0 M
Occurrences:6 in 5 configs, 2 test files
Snippet from:vpstore.47317be841.ll (mutant of vpstore.ll) @vpstore_nxv4i16 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O3
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @vpstore_nxv4i16(<vscale x 4 x i16> %val, ptr %ptr, <vscale x 4 x i1> %m, i32 zeroext %evl) {
  call void @llvm.vp.store.nxv4i16.p0(<vscale x 4 x i16> %val, ptr %ptr, <vscale x 4 x i1> %m, i32 %evl)
  %B = or 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.nxv4i16.p0(<vscale x 4 x i16>, ptr captures(none), <vscale x 4 x i1>, i32) #0

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

Reproduce:

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

Local llc output:

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

Occurrences (6):

InputFunctionConfig
nontemporal-vp-scalable.f229900fba.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_store_nxv4i16_DEFAULT-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v -O3 -code-model=small -verify-machineinstrs
vpstore.38b1cb73c0.ll (mutant of vpstore.ll)vpstore_nxv4i16-mtriple=riscv64 -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+v,+zba -O2
vpstore.3d428056b0.ll (mutant of vpstore.ll)vpstore_nxv4i16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O1
vpstore.47317be841.ll (mutant of vpstore.ll)vpstore_nxv4i16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O3
vpstore.819b9b8d60.ll (mutant of vpstore.ll)vpstore_nxv4i16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O3
vpstore.c16c7082f7.ll (mutant of vpstore.ll)vpstore_nxv4i16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zve32x,+f -O3

Generated 2026-11-29 14:49 UTC.