1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

[AArch64] Fix -Wparentheses warning with gcc 5.4. NFC

This commit is contained in:
Craig Topper 2021-07-26 19:04:49 -07:00
parent ce23772b94
commit eb0ba2928d

View File

@ -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())