fallback: legalize: G_ICMP <N x i1>,<N x i64>
| Run: | main-db12fc36f6-20261127-110859 |
| Kind: | fallback |
| Category: | legalize: G_ICMP <N x i1>,<N x i64> |
| Occurrences: | 20 in 6 configs, 3 test files |
| Snippet from: | fixed-vectors-int-setcc.ll @setgt_vv_v2i64 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define void @setgt_vv_v2i64(ptr %x, ptr %y) {
%a = load <2 x i64>, ptr %x, align 16
%b = load <2 x i64>, ptr %y, align 16
%c = icmp sgt <2 x i64> %a, %b
%d = sext <2 x i1> %c to <2 x i64>
store <2 x i64> %d, ptr %x, align 16
ret void
}
Reproduce:
llc -mtriple=riscv32 -mattr=+v -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+v -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %4:_(<2 x i1>) = G_ICMP intpred(sgt), %2:_(<2 x i64>), %3:_ (in function: setgt_vv_v2i64)
warning: Instruction selection used fallback path for setgt_vv_v2i64
Occurrences (20) (first 15):
| Input | Function | Config |
|---|
| rv32zbb.ll | ctpop_v2i64_ult_two | -mtriple=riscv32 -mattr=+zbb -verify-machineinstrs |
| rv32zbb.ll | ctpop_v2i64_ugt_one | -mtriple=riscv32 -mattr=+zbb -verify-machineinstrs |
| rv32zbb.ll | ctpop_v2i64_eq_one | -mtriple=riscv32 -mattr=+zbb -verify-machineinstrs |
| rv32zbb.ll | ctpop_v2i64_ne_one | -mtriple=riscv32 -mattr=+zbb -verify-machineinstrs |
| rv32zbb.ll | ctpop_v2i64_ult_two | -mtriple=riscv32 -verify-machineinstrs |
| rv32zbb.ll | ctpop_v2i64_ugt_one | -mtriple=riscv32 -verify-machineinstrs |
| rv32zbb.ll | ctpop_v2i64_eq_one | -mtriple=riscv32 -verify-machineinstrs |
| rv32zbb.ll | ctpop_v2i64_ne_one | -mtriple=riscv32 -verify-machineinstrs |
| rv64zbb.ll | ctpop_v2i64_ult_two | -mtriple=riscv64 -mattr=+zbb -verify-machineinstrs |
| rv64zbb.ll | ctpop_v2i64_ugt_one | -mtriple=riscv64 -mattr=+zbb -verify-machineinstrs |
| rv64zbb.ll | ctpop_v2i64_eq_one | -mtriple=riscv64 -mattr=+zbb -verify-machineinstrs |
| rv64zbb.ll | ctpop_v2i64_ne_one | -mtriple=riscv64 -mattr=+zbb -verify-machineinstrs |
| rv64zbb.ll | ctpop_v2i64_ult_two | -mtriple=riscv64 -verify-machineinstrs |
| rv64zbb.ll | ctpop_v2i64_ugt_one | -mtriple=riscv64 -verify-machineinstrs |
| rv64zbb.ll | ctpop_v2i64_eq_one | -mtriple=riscv64 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.