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
This commit is contained in:
Michael Kuperstein 2017-01-31 22:48:45 +00:00
parent 97718e6081
commit e18aad39ab
1 changed files with 3 additions and 3 deletions

View File

@ -1175,7 +1175,7 @@ void HexagonLoopIdiomRecognize::collectStores(Loop *CurLoop, BasicBlock *BB,
bool HexagonLoopIdiomRecognize::processCopyingStore(Loop *CurLoop,
StoreInst *SI, const SCEV *BECount) {
assert(SI->isSimple() || (SI->isVolatile() && HexagonVolatileMemcpy) &&
assert((SI->isSimple() || (SI->isVolatile() && HexagonVolatileMemcpy)) &&
"Expected only non-volatile stores, or Hexagon-specific memcpy"
"to volatile destination.");