summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Hexagon
diff options
context:
space:
mode:
authorMichael Kuperstein <mkuper@google.com>2017-01-31 22:48:45 +0000
committerMichael Kuperstein <mkuper@google.com>2017-01-31 22:48:45 +0000
commite18aad39ab5c632f9709f69437270fddf5abd3d2 (patch)
treec6a52728cf17350b0a6bb86bbd32c248471e8410 /llvm/lib/Target/Hexagon
parent97718e60818b8d090baed2b977d548d2df392eae (diff)
downloadbcm5719-llvm-e18aad39ab5c632f9709f69437270fddf5abd3d2.tar.gz
bcm5719-llvm-e18aad39ab5c632f9709f69437270fddf5abd3d2.zip
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
Diffstat (limited to 'llvm/lib/Target/Hexagon')
-rw-r--r--llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp b/llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
index 48f74073147..d775764b43b 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<SCEVAddRecExpr>(SE->getSCEV(StorePtr));
OpenPOWER on IntegriCloud