fallback: legalize: G_SELECT <N x bf16>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_SELECT <N x bf16> M |
| Occurrences: | 3 in 2 configs, 1 test files, 9 more counted only |
| Snippet from: | fixed-vectors-select-bf16.482c2460d8.ll (mutant of fixed-vectors-select-bf16.ll) @select_v16bf16 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+v,+zfbfmin,+zbs -O0 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <16 x bfloat> @select_v16bf16(i1 zeroext %c, <16 x bfloat> %a, <16 x bfloat> %b) {
%B = ashr i1 false, %c
%v = select i1 %B, <16 x bfloat> %a, <16 x bfloat> %b
ret <16 x bfloat> %v
}
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+v,+zfbfmin,+zbs -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+v,+zfbfmin,+zbs -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %64:_(<16 x bf16>) = G_SELECT %111:_(i64), %1:_, %2:_ (in function: select_v16bf16)
warning: Instruction selection used fallback path for select_v16bf16
Occurrences (3):
| Input | Function | Config |
|---|
| fixed-vectors-select-bf16.482c2460d8.ll (mutant of fixed-vectors-select-bf16.ll) | select_v16bf16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+v,+zfbfmin,+zbs -O0 |
| fixed-vectors-select-bf16.cae7031d29.ll (mutant of fixed-vectors-select-bf16.ll) | select_v2bf16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfbfmin,+experimental-zvfbfa -O0 |
| fixed-vectors-select-bf16.cae7031d29.ll (mutant of fixed-vectors-select-bf16.ll) | select_v16bf16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfbfmin,+experimental-zvfbfa -O0 |
Generated 2026-11-29 14:49 UTC.