fallback: legalize: G_SELECT <N x bf16>,<N x i1>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_SELECT <N x bf16>,<N x i1> M |
| Occurrences: | 3 in 3 configs, 2 test files, 13 more counted only |
| Snippet from: | fixed-vectors-select-bf16.9927139dd3.ll (mutant of fixed-vectors-select-bf16.ll) @vselect_vfpzero_v8bf16 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfbfmin,+zvfbfmin -O1 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global bfloat
define <8 x bfloat> @vselect_vfpzero_v8bf16(<8 x bfloat> %vb, <8 x i1> %cc) {
%LGV1 = load bfloat, ptr @G.1, align 2
%I = insertelement <8 x bfloat> %vb, bfloat %LGV1, i64 9223372036854775807
%vsel = select <8 x i1> %cc, <8 x bfloat> %I, <8 x bfloat> %vb
ret <8 x bfloat> %vsel
}
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfbfmin,+zvfbfmin -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfbfmin,+zvfbfmin -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %16:_(<8 x bf16>) = G_SELECT %1:_(<8 x i1>), %14:_, %0:_ (in function: vselect_vfpzero_v8bf16)
warning: Instruction selection used fallback path for vselect_vfpzero_v8bf16
Occurrences (3):
| Input | Function | Config |
|---|
| fixed-vectors-select-bf16.9927139dd3.ll (mutant of fixed-vectors-select-bf16.ll) | vselect_vfpzero_v8bf16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfbfmin,+zvfbfmin -O1 |
| fixed-vectors-vselect-vp-bf16.b6a9cda9f2.ll (mutant of fixed-vectors-vselect-vp-bf16.ll) | select_v2bf16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+v,+m -O1 |
| fixed-vectors-vselect-vp-bf16.baf481751a.ll (mutant of fixed-vectors-vselect-vp-bf16.ll) | select_v2bf16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+m,+zvfbfmin,+zbb -O2 |
Generated 2026-11-29 14:49 UTC.