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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vp.store.nxv2f32.p0 M
Occurrences:4 in 4 configs, 2 test files, 3 more counted only
Snippet from:vpstore.3e53991ef7.ll (mutant of vpstore.ll) @vpstore_nxv2f32 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfbfmin,+v,+m -O2
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.4 = external global i1

define void @vpstore_nxv2f32(<vscale x 2 x float> %val, ptr %ptr, <vscale x 2 x i1> %m, i32 zeroext %evl) {
  call void @llvm.vp.store.nxv2f32.p0(<vscale x 2 x float> %val, ptr %ptr, <vscale x 2 x i1> %m, i32 %evl)
  %C = fcmp true half +inf, 1.000000e+00
  store i1 %C, ptr @G.4, align 1
  ret void
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (4):

InputFunctionConfig
nontemporal-vp-scalable.3b29d25fbf.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_store_nxv2f32_P1-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O3 -verify-machineinstrs
vpstore.3e53991ef7.ll (mutant of vpstore.ll)vpstore_nxv2f32-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfbfmin,+v,+m -O2
vpstore.7a38328ab0.ll (mutant of vpstore.ll)vpstore_nxv2f32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O2
vpstore.ae43256a1d.ll (mutant of vpstore.ll)vpstore_nxv2f32-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+zve64d -O2

Generated 2026-11-29 14:49 UTC.