fallback: legalize: G_SELECT <N x i1>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_SELECT <N x i1> M |
| Occurrences: | 3 in 3 configs, 1 test files, 3 more counted only |
| Snippet from: | fixed-vectors-select-int.b75629a684.ll (mutant of fixed-vectors-select-int.ll) @select_v2i1 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zvkb -O0 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <2 x i1> @select_v2i1(i1 zeroext %c, <2 x i1> %a, <2 x i1> %b) {
%C = icmp slt i128 -1, 1
%v = select i1 %C, <2 x i1> %a, <2 x i1> %b
ret <2 x i1> %v
}
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zvkb -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zvkb -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %14:_(<2 x i1>) = G_SELECT %19:_(i32), %1:_, %2:_ (in function: select_v2i1)
warning: Instruction selection used fallback path for select_v2i1
Occurrences (3):
| Input | Function | Config |
|---|
| fixed-vectors-select-int.04181e3240.ll (mutant of fixed-vectors-select-int.ll) | selectcc_v2i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+a -O0 |
| fixed-vectors-select-int.aaecd10cbd.ll (mutant of fixed-vectors-select-int.ll) | selectcc_v2i1 | -mtriple=riscv32 -verify-machineinstrs -O1 |
| fixed-vectors-select-int.b75629a684.ll (mutant of fixed-vectors-select-int.ll) | select_v2i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zvkb -O0 |
Generated 2026-11-29 14:49 UTC.