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

Run:main-b577f07195-20261129-101839
Kind:fallback
Category:translate: call llvm.vp.store.nxv4i32.p0 M
Occurrences:4 in 4 configs, 1 test files
Snippet from:vpstore.01c31dc341.ll (mutant of vpstore.ll) @vpstore_nxv4i32 via llvm-extract
Config:-mtriple=riscv64 -mattr=+d,+zvfh,+zvfbfmin,+v -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global <2 x i64>

define void @vpstore_nxv4i32(<vscale x 4 x i32> %val, ptr %ptr, <vscale x 4 x i1> %m, i32 zeroext %evl) {
  %B = sub <2 x i64> zeroinitializer, zeroinitializer
  call void @llvm.vp.store.nxv4i32.p0(<vscale x 4 x i32> %val, ptr %ptr, <vscale x 4 x i1> %m, i32 %evl)
  store <2 x i64> %B, ptr @G, align 16
  ret void
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (4):

InputFunctionConfig
vpstore.01c31dc341.ll (mutant of vpstore.ll)vpstore_nxv4i32-mtriple=riscv64 -mattr=+d,+zvfh,+zvfbfmin,+v -verify-machineinstrs
vpstore.22d1b6ef20.ll (mutant of vpstore.ll)vpstore_nxv4i32-mtriple=riscv64 -mattr=+d,+zvfhmin,+zvfbfmin,+v -verify-machineinstrs
vpstore.3d0ea1068e.ll (mutant of vpstore.ll)vpstore_nxv4i32-mtriple=riscv32 -mattr=+d,+zvfhmin,+zvfbfmin,+v -verify-machineinstrs
vpstore.4c91b63c87.ll (mutant of vpstore.ll)vpstore_nxv4i32-mtriple=riscv32 -mattr=+d,+zvfh,+zvfbfmin,+v -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.