Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[X86] Don't use popcnt for parity if only bits 7:0 of the input can b…
…e non-zero. Without popcnt we had a special case for using the parity flag from a single test i8 test instruction if only bits 7:0 could be non-zero. That special case is still useful when we have popcnt. To reach this special case, we enable custom lowering of parity for i16/i32/i64 even when popcnt is enabled. The check for POPCNT being enabled is now after the special case in LowerPARITY. Fixes PR52093 Differential Revision: https://reviews.llvm.org/D111249
- Loading branch information