[all-commits] [llvm/llvm-project] c64f37: [X86] matchAddressRecursively - add XOR(X, MIN_SIG...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Fri Apr 1 09:26:58 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c64f37f818b7a928b48540920d6e0c6df8903128
https://github.com/llvm/llvm-project/commit/c64f37f818b7a928b48540920d6e0c6df8903128
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-04-01 (Fri, 01 Apr 2022)
Changed paths:
M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
M llvm/lib/Target/X86/X86InstrInfo.td
M llvm/test/CodeGen/X86/xor-lea.ll
Log Message:
-----------
[X86] matchAddressRecursively - add XOR(X, MIN_SIGNED_VALUE) handling
Allows us to fold XOR(X, MIN_SIGNED_VALUE) == ADD(X, MIN_SIGNED_VALUE) into LEA patterns
As mentioned on PR52267.
Differential Revision: https://reviews.llvm.org/D122815
More information about the All-commits
mailing list