diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-07-19 10:58:27 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-07-19 10:59:07 +0100 |
commit | 0f6b0461b01dfb1be4b359a1b9b328e1085f81d8 (patch) | |
tree | 7a7cc27be2c7331d37298e9068cdc62a4f6d98ca /llvm/docs/CommandGuide/llvm-dwarfutil.rst | |
parent | 9fa425c1ab2f763da14953f22f005dd1ca581c1c (diff) | |
download | llvm-0f6b0461b01dfb1be4b359a1b9b328e1085f81d8.zip llvm-0f6b0461b01dfb1be4b359a1b9b328e1085f81d8.tar.gz llvm-0f6b0461b01dfb1be4b359a1b9b328e1085f81d8.tar.bz2 |
[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
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-dwarfutil.rst')
0 files changed, 0 insertions, 0 deletions