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

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

Snippet:

@G.5 = external global i1

define void @vpstore_nxv4i64(<vscale x 4 x i64> %val, ptr %ptr, <vscale x 4 x i1> %m, i32 zeroext %evl) {
  %LGV1 = load i1, ptr @G.5, align 1
  call void @llvm.vp.store.nxv4i64.p0(<vscale x 4 x i64> %val, ptr %ptr, <vscale x 4 x i1> %m, i32 %evl)
  %C = icmp ne i1 false, %LGV1
  store i1 %C, ptr poison, align 1
  ret void
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (4):

InputFunctionConfig
nontemporal-vp-scalable.e153f22d7c.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_store_nxv4i64_S1-mtriple=riscv64 -mattr=+zihintntl,+f,+zfh,+v -O3 -verify-machineinstrs
vpstore.776386ab04.ll (mutant of vpstore.ll)vpstore_nxv4i64-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zbb -O2
vpstore.95e0debb72.ll (mutant of vpstore.ll)vpstore_nxv4i64-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zve32x -O2
vpstore.d7c4ac3c7a.ll (mutant of vpstore.ll)vpstore_nxv4i64-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O0

Generated 2026-11-29 14:49 UTC.