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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vp.store.nxv2f32.p0 M
Occurrences:5 in 5 configs, 2 test files, 11 more counted only
Snippet from:vpstore.72a900ed26.ll (mutant of vpstore.ll) @vpstore_nxv2f32 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+v,+zfh -O2 -code-model=medium
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global ptr

define void @vpstore_nxv2f32(<vscale x 2 x float> %val, ptr %ptr, <vscale x 2 x i1> %m, i32 zeroext %evl) {
  %G = getelementptr i16, ptr %ptr, i64 1
  call void @llvm.vp.store.nxv2f32.p0(<vscale x 2 x float> %val, ptr %ptr, <vscale x 2 x i1> %m, i32 %evl)
  store ptr %G, ptr @G.1, align 8
  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=riscv32 -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+v,+zfh -O2 -code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+v,+zfh -O2 -code-model=medium -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 (5):

InputFunctionConfig
nontemporal-vp-scalable.11aef2c9a9.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_store_nxv2f32_P1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v -O1 -verify-machineinstrs
vpstore.1ba4210b35.ll (mutant of vpstore.ll)vpstore_nxv2f32-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O1 -code-model=medium
vpstore.71e4055a5d.ll (mutant of vpstore.ll)vpstore_nxv2f32-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zve64d -O0 -code-model=small
vpstore.72a900ed26.ll (mutant of vpstore.ll)vpstore_nxv2f32-mtriple=riscv32 -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+v,+zfh -O2 -code-model=medium
vpstore.dd4ff4e2d4.ll (mutant of vpstore.ll)vpstore_nxv2f32-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O2

Generated 2026-11-29 14:49 UTC.