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

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

Snippet:

define void @vpstore_nxv4f16(<vscale x 4 x half> %val, ptr %ptr, <vscale x 4 x i1> %m, i32 zeroext %evl) {
  %A = alloca <vscale x 4 x i1>, align 1
  store <vscale x 4 x i1> poison, ptr %A, align 1
  call void @llvm.vp.store.nxv4f16.p0(<vscale x 4 x half> %val, ptr %ptr, <vscale x 4 x i1> %m, i32 %evl)
  %C = fcmp uge <vscale x 4 x half> %val, %val
  store <vscale x 4 x i1> %C, ptr %A, align 1
  ret void
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (3):

InputFunctionConfig
vpstore.0fd7ece24f.ll (mutant of vpstore.ll)vpstore_nxv4f16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O3
vpstore.71be49ad8a.ll (mutant of vpstore.ll)vpstore_nxv4f16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O3
vpstore.7a38328ab0.ll (mutant of vpstore.ll)vpstore_nxv4f16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O2

Generated 2026-11-29 14:49 UTC.