fallback: legalize: G_SELECT <N x i64>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_SELECT <N x i64> M |
| Occurrences: | 7 in 4 configs, 1 test files, 14 more counted only |
| Snippet from: | fixed-vectors-select-int.8752acc6c2.ll (mutant of fixed-vectors-select-int.ll) @select_v8i64 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zbkb -O3 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i16
define <8 x i64> @select_v8i64(i1 zeroext %c, <8 x i64> %a, <8 x i64> %b) {
%LGV = load i16, ptr @G, align 2
%C = icmp ule i16 0, %LGV
%v = select i1 %c, <8 x i64> %a, <8 x i64> %b
store i1 %C, ptr poison, align 1
ret <8 x i64> %v
}
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zbkb -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zbkb -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %12:_(<8 x i64>) = G_SELECT %68:_(i32), %1:_, %2:_ (in function: select_v8i64)
warning: Instruction selection used fallback path for select_v8i64
Occurrences (7):
| Input | Function | Config |
|---|
| fixed-vectors-select-int.04181e3240.ll (mutant of fixed-vectors-select-int.ll) | selectcc_v4i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+a -O0 |
| fixed-vectors-select-int.04181e3240.ll (mutant of fixed-vectors-select-int.ll) | selectcc_v16i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+a -O0 |
| fixed-vectors-select-int.34ee6f131b.ll (mutant of fixed-vectors-select-int.ll) | selectcc_v4i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+f -O1 |
| fixed-vectors-select-int.8301f4009b.ll (mutant of fixed-vectors-select-int.ll) | selectcc_v2i64 | -mtriple=riscv64 -verify-machineinstrs -O2 |
| fixed-vectors-select-int.8301f4009b.ll (mutant of fixed-vectors-select-int.ll) | select_v4i64 | -mtriple=riscv64 -verify-machineinstrs -O2 |
| fixed-vectors-select-int.8301f4009b.ll (mutant of fixed-vectors-select-int.ll) | selectcc_v8i64 | -mtriple=riscv64 -verify-machineinstrs -O2 |
| fixed-vectors-select-int.8752acc6c2.ll (mutant of fixed-vectors-select-int.ll) | select_v8i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zbkb -O3 |
Generated 2026-11-29 14:49 UTC.