Files
clang-p2996/llvm/test/CodeGen/Mips
Simon Pilgrim 0f6b0461b0 [DAG] SimplifyDemandedBits - relax "xor (X >> ShiftC), XorC --> (not X) >> ShiftC" to match only demanded bits
The "xor (X >> ShiftC), XorC --> (not X) >> ShiftC" fold is currently limited to the XOR mask being a shifted all-bits mask, but we can relax this to only need to match under the demanded bits.

This helps expose more bit extraction/clearing patterns and fixes the PowerPC testCompares*.ll regressions from D127115

Alive2: https://alive2.llvm.org/ce/z/fl7T7K

Differential Revision: https://reviews.llvm.org/D129933
2022-07-19 10:59:07 +01:00
..
2011-08-12 18:12:06 +00:00
2018-07-23 23:19:53 +00:00
2019-01-28 14:59:30 +00:00
2011-12-19 20:24:28 +00:00
2013-07-26 20:58:55 +00:00
2011-05-25 23:30:30 +00:00