From e18aad39ab5c632f9709f69437270fddf5abd3d2 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. llvm-svn: 293709 --- llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp b/llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp index 48f74073147e..d775764b43bf 100644 --- a/llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp +++ b/llvm/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));