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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vp.store.nxv2i32.p0 M
Occurrences:5 in 5 configs, 1 test files, 17 more counted only
Snippet from:vpstore.49b478d3ab.ll (mutant of vpstore.ll) @vpstore_nxv2i32 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+v -O2
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @vpstore_nxv2i32(<vscale x 2 x i32> %val, ptr %ptr, <vscale x 2 x i1> %m, i32 zeroext %evl) {
  %A = alloca i1, align 1
  store i1 poison, ptr %A, align 1
  call void @llvm.vp.store.nxv2i32.p0(<vscale x 2 x i32> %val, ptr %ptr, <vscale x 2 x i1> %m, i32 %evl)
  %C = icmp sgt i32 %evl, 1
  store i1 %C, ptr %A, align 1
  ret void
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (5):

InputFunctionConfig
vpstore.47a1075657.ll (mutant of vpstore.ll)vpstore_nxv2i32-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zve32x -O3
vpstore.49b478d3ab.ll (mutant of vpstore.ll)vpstore_nxv2i32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+v -O2
vpstore.7ad8f4e071.ll (mutant of vpstore.ll)vpstore_nxv2i32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfbfmin,+v -O3
vpstore.8649550544.ll (mutant of vpstore.ll)vpstore_nxv2i32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+c,+zvbb -O3
vpstore.bc63b12cde.ll (mutant of vpstore.ll)vpstore_nxv2i32-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O0

Generated 2026-11-29 14:49 UTC.