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

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

Snippet:

@G = external global half
@G.1 = external global i1

define void @vpstore_nxv8i8(<vscale x 8 x i8> %val, ptr %ptr, <vscale x 8 x i1> %m, i32 zeroext %evl) {
  %LGV = load half, ptr @G, align 2
  call void @llvm.vp.store.nxv8i8.p0(<vscale x 8 x i8> %val, ptr %ptr, <vscale x 8 x i1> %m, i32 %evl)
  %C = fcmp ugt half %LGV, 5.960460e-08
  store i1 %C, ptr @G.1, align 1
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: write)
declare void @llvm.vp.store.nxv8i8.p0(<vscale x 8 x i8>, ptr captures(none), <vscale x 8 x i1>, i32) #0

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

Reproduce:

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

Local llc output:

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

Occurrences (5):

InputFunctionConfig
nontemporal-vp-scalable.d561f53dd3.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_store_nxv8i8_PALL-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O3 -verify-machineinstrs
nontemporal-vp-scalable.f36b08a3c7.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_store_nxv8i8_PALL-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O3 -verify-machineinstrs
vpstore.2f369b0272.ll (mutant of vpstore.ll)vpstore_all_active_nxv8i8-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O3
vpstore.8ce11d0306.ll (mutant of vpstore.ll)vpstore_all_active_nxv8i8-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zvfh -O1
vpstore.a99af059c5.ll (mutant of vpstore.ll)vpstore_nxv8i8-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zbkb -O0

Generated 2026-11-29 14:49 UTC.