fallback: legalize: G_ICMP <N x i1>,<N x i32>
| Run: | main-d9924131a4-20261128-102057 |
| Kind: | fallback |
| Category: | legalize: G_ICMP <N x i1>,<N x i32> |
| Occurrences: | 36 in 7 configs, 5 test files |
| Snippet from: | fixed-vectors-int-setcc.ll @setne_vv_v4i32 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define void @setne_vv_v4i32(ptr %x, ptr %y) {
%a = load <4 x i32>, ptr %x, align 16
%b = load <4 x i32>, ptr %y, align 16
%c = icmp ne <4 x i32> %a, %b
%d = sext <4 x i1> %c to <4 x i32>
store <4 x i32> %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:_(<4 x i1>) = G_ICMP intpred(ne), %2:_(<4 x i32>), %3:_ (in function: setne_vv_v4i32)
warning: Instruction selection used fallback path for setne_vv_v4i32
Occurrences (36) (first 15):
| Input | Function | Config |
|---|
| get-setcc-result-type.ll | getSetCCResultType | -mtriple=riscv32 -verify-machineinstrs |
| rv32zbb.ll | ctpop_v2i32_ult_two | -mtriple=riscv32 -mattr=+zbb -verify-machineinstrs |
| rv32zbb.ll | ctpop_v2i32_ugt_one | -mtriple=riscv32 -mattr=+zbb -verify-machineinstrs |
| rv32zbb.ll | ctpop_v2i32_eq_one | -mtriple=riscv32 -mattr=+zbb -verify-machineinstrs |
| rv32zbb.ll | ctpop_v2i32_ne_one | -mtriple=riscv32 -mattr=+zbb -verify-machineinstrs |
| rv32zbb.ll | ctpop_v2i32_ult_two | -mtriple=riscv32 -verify-machineinstrs |
| rv32zbb.ll | ctpop_v2i32_ugt_one | -mtriple=riscv32 -verify-machineinstrs |
| rv32zbb.ll | ctpop_v2i32_eq_one | -mtriple=riscv32 -verify-machineinstrs |
| rv32zbb.ll | ctpop_v2i32_ne_one | -mtriple=riscv32 -verify-machineinstrs |
| rv64zbb.ll | ctpop_v2i32_ult_two | -mtriple=riscv64 -mattr=+zbb -verify-machineinstrs |
| rv64zbb.ll | ctpop_v2i32_ugt_one | -mtriple=riscv64 -mattr=+zbb -verify-machineinstrs |
| rv64zbb.ll | ctpop_v2i32_eq_one | -mtriple=riscv64 -mattr=+zbb -verify-machineinstrs |
| rv64zbb.ll | ctpop_v2i32_ne_one | -mtriple=riscv64 -mattr=+zbb -verify-machineinstrs |
| rv64zbb.ll | ctpop_v2i32_ult_two | -mtriple=riscv64 -verify-machineinstrs |
| rv64zbb.ll | ctpop_v2i32_ugt_one | -mtriple=riscv64 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.