fallback: translate: call llvm.vp.load.ff.nxv2bf16.p0
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.load.ff.nxv2bf16.p0 M |
| Occurrences: | 4 in 4 configs, 1 test files, 9 more counted only |
| Snippet from: | vploadff.8c42d36f06.ll (mutant of vploadff.ll) @vploadff_nxv2bf16_allones_mask via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O2 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global bfloat
define { <vscale x 2 x bfloat>, i32 } @vploadff_nxv2bf16_allones_mask(ptr %ptr, i32 zeroext %evl) {
%LGV = load bfloat, ptr @G, align 2
%C = fcmp one bfloat 1.000000e+00, %LGV
%load = call { <vscale x 2 x bfloat>, i32 } @llvm.vp.load.ff.nxv2bf16.p0(ptr %ptr, <vscale x 2 x i1> splat (i1 true), i32 %evl)
store i1 %C, ptr poison, align 1
ret { <vscale x 2 x bfloat>, i32 } %load
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare { <vscale x 2 x bfloat>, i32 } @llvm.vp.load.ff.nxv2bf16.p0(ptr captures(none), <vscale x 2 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.load.ff.nxv2bf16.p0: ' %load = call { <vscale x 2 x bfloat>, i32 } @llvm.vp.load.ff.nxv2bf16.p0(ptr %ptr, <vscale x 2 x i1> splat (i1 true), i32 %evl)' (in function: vploadff_nxv2bf16_allones_mask)
warning: Instruction selection used fallback path for vploadff_nxv2bf16_allones_mask
Occurrences (4):
| Input | Function | Config |
|---|
| vploadff.5ab0fd596c.ll (mutant of vploadff.ll) | vploadff_nxv2bf16_allones_mask | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zba -O3 |
| vploadff.8c42d36f06.ll (mutant of vploadff.ll) | vploadff_nxv2bf16_allones_mask | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O2 |
| vploadff.922d2c2725.ll (mutant of vploadff.ll) | vploadff_nxv2bf16_allones_mask | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zcb,+f -O0 |
| vploadff.d31510909b.ll (mutant of vploadff.ll) | vploadff_nxv2bf16_allones_mask | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O1 |
Generated 2026-11-29 14:49 UTC.