fallback: translate: call llvm.vp.store.nxv2bf16.p0
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.store.nxv2bf16.p0 M |
| Occurrences: | 6 in 6 configs, 1 test files, 2 more counted only |
| Snippet from: | vpstore.d644a89346.ll (mutant of vpstore.ll) @vpstore_nxv2bf16 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O0 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global bfloat
define void @vpstore_nxv2bf16(<vscale x 2 x bfloat> %val, ptr %ptr, <vscale x 2 x i1> %m, i32 zeroext %evl) {
%LGV = load bfloat, ptr @G.1, align 2
call void @llvm.vp.store.nxv2bf16.p0(<vscale x 2 x bfloat> %val, ptr %ptr, <vscale x 2 x i1> %m, i32 %evl)
%C = fcmp ult bfloat 9.183550e-41, %LGV
store i1 %C, ptr poison, align 1
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: write)
declare void @llvm.vp.store.nxv2bf16.p0(<vscale x 2 x bfloat>, 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,+zvfbfmin,+v -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.store.nxv2bf16.p0: ' call void @llvm.vp.store.nxv2bf16.p0(<vscale x 2 x bfloat> %val, ptr %ptr, <vscale x 2 x i1> %m, i32 %evl)' (in function: vpstore_nxv2bf16)
warning: Instruction selection used fallback path for vpstore_nxv2bf16
Occurrences (6):
| Input | Function | Config |
|---|
| vpstore.18d53d60cf.ll (mutant of vpstore.ll) | vpstore_nxv2bf16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O3 |
| vpstore.3ddcdbf7b3.ll (mutant of vpstore.ll) | vpstore_nxv2bf16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+f,+zfh -O2 |
| vpstore.bf904b23b2.ll (mutant of vpstore.ll) | vpstore_nxv2bf16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O3 -code-model=medium |
| vpstore.d644a89346.ll (mutant of vpstore.ll) | vpstore_nxv2bf16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O0 |
| vpstore.d87327d4bf.ll (mutant of vpstore.ll) | vpstore_nxv2bf16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O1 |
| vpstore.ec4722494e.ll (mutant of vpstore.ll) | vpstore_nxv2bf16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+c -O2 |
Generated 2026-11-29 14:49 UTC.