1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

Fix warning '-Wparentheses'. NFC.

This commit is contained in:
Michael Liao 2021-07-12 09:23:59 -04:00
parent 45db31dc8a
commit 529d08148c

View File

@ -15165,8 +15165,8 @@ static bool performTBISimplification(SDValue Addr,
static SDValue foldTruncStoreOfExt(SelectionDAG &DAG, SDNode *N) {
auto OpCode = N->getOpcode();
assert(OpCode == ISD::STORE ||
OpCode == ISD::MSTORE && "Expected STORE dag node in input!");
assert((OpCode == ISD::STORE || OpCode == ISD::MSTORE) &&
"Expected STORE dag node in input!");
if (auto Store = dyn_cast<StoreSDNode>(N)) {
if (!Store->isTruncatingStore())