From: Michael Kuperstein Date: Tue, 31 Jan 2017 22:48:45 +0000 (+0000) Subject: Shut up GCC warning about operator precedence. NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb0d4311542dd1068654373bc2b3445064c16af2;p=llvm Shut up GCC warning about operator precedence. NFC. Technically, this is actually changes the expression and the original assert was "wrong", but since the conjunction is with true, it doesn't matter in this case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293709 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp b/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp index 48f74073147..d775764b43b 100644 --- a/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp +++ b/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp @@ -1175,9 +1175,9 @@ void HexagonLoopIdiomRecognize::collectStores(Loop *CurLoop, BasicBlock *BB, bool HexagonLoopIdiomRecognize::processCopyingStore(Loop *CurLoop, StoreInst *SI, const SCEV *BECount) { - assert(SI->isSimple() || (SI->isVolatile() && HexagonVolatileMemcpy) && - "Expected only non-volatile stores, or Hexagon-specific memcpy" - "to volatile destination."); + assert((SI->isSimple() || (SI->isVolatile() && HexagonVolatileMemcpy)) && + "Expected only non-volatile stores, or Hexagon-specific memcpy" + "to volatile destination."); Value *StorePtr = SI->getPointerOperand(); auto *StoreEv = cast(SE->getSCEV(StorePtr));