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

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

Snippet:

@G = external global i1

define void @vpstore_nxv1i16(<vscale x 1 x i16> %val, ptr %ptr, <vscale x 1 x i1> %m, i32 zeroext %evl) {
  %C = icmp slt i32 %evl, -1
  call void @llvm.vp.store.nxv1i16.p0(<vscale x 1 x i16> %val, ptr %ptr, <vscale x 1 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.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=+d,+zvfh,+zvfbfmin,+v -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O0 -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 (4):

InputFunctionConfig
nontemporal-vp-scalable.6d55169aa6.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_store_nxv1i16_DEFAULT-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+xtheadba -O2 -verify-machineinstrs
nontemporal-vp-scalable.a4e4adc4bc.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_store_nxv1i16_DEFAULT-mtriple=riscv32 -mattr=+zihintntl,+d,+zfh,+v -O2 -verify-machineinstrs
vpstore.942470aad6.ll (mutant of vpstore.ll)vpstore_nxv1i16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zcb -O2
vpstore.fa5e0eece0.ll (mutant of vpstore.ll)vpstore_nxv1i16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O0

Generated 2026-11-29 14:49 UTC.