[all-commits] [llvm/llvm-project] 3ab32c: [X86] Replace explicit constant handling in sub(C1...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Sun Feb 21 13:41:19 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3ab32c94a4aeb688a2df127fe14b3a7a42c71c97
https://github.com/llvm/llvm-project/commit/3ab32c94a4aeb688a2df127fe14b3a7a42c71c97
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-02-21 (Sun, 21 Feb 2021)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] Replace explicit constant handling in sub(C1, xor(X, C2)) -> add(xor(X, ~C2), C1+1) fold. NFCI.
NFC cleanup before adding vector support - rely on the SelectionDAG to handle everything for us.
More information about the All-commits
mailing list