From eb0d4311542dd1068654373bc2b3445064c16af2 Mon Sep 17 00:00:00 2001 From: Michael Kuperstein Date: Tue, 31 Jan 2017 22:48:45 +0000 Subject: [PATCH] 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 --- lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)); -- 2.40.0