fallback: legalize: G_FMINIMUM <N x bf16>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_FMINIMUM <N x bf16> M |
| Occurrences: | 5 in 4 configs, 1 test files, 4 more counted only |
| Snippet from: | fixed-vectors-fminimum.5148cb06c6.ll (mutant of fixed-vectors-fminimum.ll) @vfmin_v4bf16_vv via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+zvfhmin,+experimental-zvfbfa -O3 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <4 x bfloat> @vfmin_v4bf16_vv(<4 x bfloat> %a, <4 x bfloat> %b) {
%v = call <4 x bfloat> @llvm.minimum.v4bf16(<4 x bfloat> %a, <4 x bfloat> %b)
%C = icmp ne i128 -170141183460469231731687303715884105728, -1
store i1 %C, ptr poison, align 1
ret <4 x bfloat> %v
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x bfloat> @llvm.minimum.v4bf16(<4 x bfloat>, <4 x bfloat>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zvfhmin,+experimental-zvfbfa -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zvfhmin,+experimental-zvfbfa -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %11:_(<4 x bf16>) = G_FMINIMUM %0:_, %1:_ (in function: vfmin_v4bf16_vv)
warning: Instruction selection used fallback path for vfmin_v4bf16_vv
Occurrences (5):
| Input | Function | Config |
|---|
| fixed-vectors-fminimum.0f50a88a44.ll (mutant of fixed-vectors-fminimum.ll) | vfmin_v4bf16_vv | -mtriple=riscv32 -verify-machineinstrs -mattr=+zvfhmin,+experimental-zvfbfa -O0 |
| fixed-vectors-fminimum.10671741f4.ll (mutant of fixed-vectors-fminimum.ll) | vfmin_v8bf16_vv | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+v -O3 |
| fixed-vectors-fminimum.2327454e72.ll (mutant of fixed-vectors-fminimum.ll) | vfmin_v2bf16_vv | -mtriple=riscv32 -verify-machineinstrs -mattr=+zvfhmin,+experimental-zvfbfa -O0 |
| fixed-vectors-fminimum.5148cb06c6.ll (mutant of fixed-vectors-fminimum.ll) | vfmin_v4bf16_vv | -mtriple=riscv64 -verify-machineinstrs -mattr=+zvfhmin,+experimental-zvfbfa -O3 |
| fixed-vectors-fminimum.bce552a483.ll (mutant of fixed-vectors-fminimum.ll) | vfmin_v4bf16_vv | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin -O3 -code-model=medium |
Generated 2026-11-29 14:49 UTC.