[llvm] be9e892 - [x86] shorten function name; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 10 06:51:29 PST 2021
Author: Sanjay Patel
Date: 2021-11-10T09:44:55-05:00
New Revision: be9e892e9ddc6c3b980d6081b36fd059398b43a2
URL: https://github.com/llvm/llvm-project/commit/be9e892e9ddc6c3b980d6081b36fd059398b43a2
DIFF: https://github.com/llvm/llvm-project/commit/be9e892e9ddc6c3b980d6081b36fd059398b43a2.diff
LOG: [x86] shorten function name; NFC
Added:
Modified:
llvm/lib/Target/X86/X86ISelLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index c952a283a28a6..f58455e4cd79b 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -45553,7 +45553,7 @@ static SDValue combineCompareEqual(SDNode *N, SelectionDAG &DAG,
}
/// Try to fold: (and (xor X, -1), Y) -> (andnp X, Y).
-static SDValue combineANDXORWithAllOnesIntoANDNP(SDNode *N, SelectionDAG &DAG) {
+static SDValue combineAndNotIntoANDNP(SDNode *N, SelectionDAG &DAG) {
assert(N->getOpcode() == ISD::AND);
MVT VT = N->getSimpleValueType(0);
@@ -46079,7 +46079,7 @@ static SDValue combineAnd(SDNode *N, SelectionDAG &DAG,
if (SDValue R = combineCompareEqual(N, DAG, DCI, Subtarget))
return R;
- if (SDValue R = combineANDXORWithAllOnesIntoANDNP(N, DAG))
+ if (SDValue R = combineAndNotIntoANDNP(N, DAG))
return R;
if (SDValue ShiftRight = combineAndMaskToShift(N, DAG, Subtarget))
More information about the llvm-commits
mailing list