Files
clang-p2996/llvm/test/CodeGen/X86
Craig Topper 58b68e70eb [X86] Don't use popcnt for parity if only bits 7:0 of the input can be 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
2021-10-06 14:39:57 -07:00
..
2021-08-16 17:31:17 +01:00
2021-09-17 15:48:55 +02:00
2021-07-27 12:09:25 +01:00
2021-08-16 13:13:56 +01:00