fallback: legalize: G_SELECT <N x i64>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | legalize: G_SELECT <N x i64> M |
| Occurrences: | 4 in 4 configs, 1 test files, 12 more counted only |
| Snippet from: | fixed-vectors-select-int.b580298db1.ll (mutant of fixed-vectors-select-int.ll) @select_v16i64 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+d -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <16 x i64> @select_v16i64(i1 zeroext %c, <16 x i64> %a, <16 x i64> %b) {
%v = select i1 %c, <16 x i64> %a, <16 x i64> %b
%B = xor i1 %c, %c
store i1 %B, ptr poison, align 1
ret <16 x i64> %v
}
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %8:_(<16 x i64>) = G_SELECT %66:_(i32), %1:_, %2:_ (in function: select_v16i64)
warning: Instruction selection used fallback path for select_v16i64
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-select-int.37917c8534.ll (mutant of fixed-vectors-select-int.ll) | select_v4i64 | -mtriple=riscv32 -verify-machineinstrs -O1 |
| fixed-vectors-select-int.b580298db1.ll (mutant of fixed-vectors-select-int.ll) | select_v16i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d -O2 |
| fixed-vectors-select-int.b7e57efd9d.ll (mutant of fixed-vectors-select-int.ll) | select_v16i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zbb -O1 -code-model=small |
| fixed-vectors-select-int.ff84eae648.ll (mutant of fixed-vectors-select-int.ll) | selectcc_v8i64 | -mtriple=riscv64 -verify-machineinstrs -O1 |
Generated 2026-11-29 14:49 UTC.