]> granicus.if.org Git - llvm/commitdiff
Shut up GCC warning about operator precedence. NFC.
authorMichael Kuperstein <mkuper@google.com>
Tue, 31 Jan 2017 22:48:45 +0000 (22:48 +0000)
committerMichael Kuperstein <mkuper@google.com>
Tue, 31 Jan 2017 22:48:45 +0000 (22:48 +0000)
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

index 48f74073147e2a16c076ee63aee7e0013665ea6d..d775764b43bfded364fbf326359453efa968f41b 100644 (file)
@@ -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<SCEVAddRecExpr>(SE->getSCEV(StorePtr));