Skip to content

Commit

Permalink
[AArch64] Fix -Wparentheses warning with gcc 5.4. NFC
Browse files Browse the repository at this point in the history
  • Loading branch information
topperc committed Jul 27, 2021
1 parent 958dddf commit 2ea9db0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Expand Up @@ -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())
Expand Down

0 comments on commit 2ea9db0

Please sign in to comment.