[llvm] 2ea9db0 - [AArch64] Fix -Wparentheses warning with gcc 5.4. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 26 21:11:22 PDT 2021
Author: Craig Topper
Date: 2021-07-26T21:08:56-07:00
New Revision: 2ea9db0c49d7406de650be9e5cd72fc5687c66dd
URL: https://github.com/llvm/llvm-project/commit/2ea9db0c49d7406de650be9e5cd72fc5687c66dd
DIFF: https://github.com/llvm/llvm-project/commit/2ea9db0c49d7406de650be9e5cd72fc5687c66dd.diff
LOG: [AArch64] Fix -Wparentheses warning with gcc 5.4. NFC
Added:
Modified:
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index aba2d1117a6d..e7282aad05e2 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -15157,8 +15157,8 @@ static bool performTBISimplification(SDValue Addr,
}
static SDValue foldTruncStoreOfExt(SelectionDAG &DAG, SDNode *N) {
- assert(N->getOpcode() == ISD::STORE ||
- N->getOpcode() == ISD::MSTORE && "Expected STORE dag node in input!");
+ assert((N->getOpcode() == ISD::STORE || N->getOpcode() == ISD::MSTORE) &&
+ "Expected STORE dag node in input!");
if (auto Store = dyn_cast<StoreSDNode>(N)) {
if (!Store->isTruncatingStore() || Store->isIndexed())
More information about the llvm-commits
mailing list