aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2021-11-10 08:47:08 -0500
committerSanjay Patel <spatel@rotateright.com>2021-11-10 09:44:55 -0500
commitbe9e892e9ddc6c3b980d6081b36fd059398b43a2 (patch)
tree345b1522c4b73bf327d6f0b7dbd1811a3043788d
parent51baafd2382283c965e606158fe7cb6a614fba52 (diff)
downloadllvm-be9e892e9ddc6c3b980d6081b36fd059398b43a2.zip
llvm-be9e892e9ddc6c3b980d6081b36fd059398b43a2.tar.gz
llvm-be9e892e9ddc6c3b980d6081b36fd059398b43a2.tar.bz2
[x86] shorten function name; NFC
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index c952a28..f58455e 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))