Allows us to fold XOR(X, MIN_SIGNED_VALUE) == ADD(X, MIN_SIGNED_VALUE) into LEA patterns
As mentioned on PR52267.
Paths
| Differential D122815
[X86] matchAddressRecursively - add XOR(X, MIN_SIGNED_VALUE) handling ClosedPublic Authored by RKSimon on Mar 31 2022, 6:58 AM.
Details Summary Allows us to fold XOR(X, MIN_SIGNED_VALUE) == ADD(X, MIN_SIGNED_VALUE) into LEA patterns As mentioned on PR52267.
Diff Detail
Unit TestsFailed Event TimelineThis revision is now accepted and ready to land.Apr 1 2022, 9:09 AM This revision was landed with ongoing or failed builds.Apr 1 2022, 9:27 AM Closed by commit rGc64f37f818b7: [X86] matchAddressRecursively - add XOR(X, MIN_SIGNED_VALUE) handling (authored by RKSimon). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 419437 llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
llvm/lib/Target/X86/X86InstrInfo.td
llvm/test/CodeGen/X86/xor-lea.ll
|