llvm-project
f15a5d0a - [GlobalISel][X86] Fix legalizer abort on vector G_CTPOP (#235976)

Commit
2 days ago
[GlobalISel][X86] Fix legalizer abort on vector G_CTPOP (#235976) Fixes #220802. X86: mark vector `G_CTPOP` legal with AVX512VPOPCNTDQ (D/Q) or AVX512BITALG (B/W) at 128/256/512 bits. Without VLX the `avx512_unary_lowering` widening patterns in `X86InstrAVX512.td` select the 512-bit instruction; other vector forms are still reported unsupported instead of crashing. AI tool use: developed with Codex CLI assistance under the contributor's direction.
Author
Parents
Loading