[X86] Add test cases for missed opportunity to use a byte test instruction instead...
authorCraig Topper <craig.topper@intel.com>
Sun, 2 Aug 2020 07:20:11 +0000 (00:20 -0700)
committerCraig Topper <craig.topper@intel.com>
Sun, 2 Aug 2020 17:45:04 +0000 (10:45 -0700)
commita258338d627170f204c40ebe93ea7fb18c7c1197
tree23f370ace94637b2204256832a27bd454ac68b55
parente7a8ee00e6c3b20fc04792db1acf9d5324a1b7bb
[X86] Add test cases for missed opportunity to use a byte test instruction instead of an xor with 0 in parity patterns.

If the input to the ctpop fits in 8 bits, we can use the parity
flag from a TEST instruction, but we're currently XORing with 0.
llvm/test/CodeGen/X86/parity.ll