[llvm] r314936 - Fix a -Wparentheses warning. NFC.
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 4 14:14:07 PDT 2017
Author: hans
Date: Wed Oct 4 14:14:07 2017
New Revision: 314936
URL: http://llvm.org/viewvc/llvm-project?rev=314936&view=rev
Log:
Fix a -Wparentheses warning. NFC.
Modified:
llvm/trunk/lib/Transforms/Utils/LoopUtils.cpp
Modified: llvm/trunk/lib/Transforms/Utils/LoopUtils.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/LoopUtils.cpp?rev=314936&r1=314935&r2=314936&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/LoopUtils.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/LoopUtils.cpp Wed Oct 4 14:14:07 2017
@@ -1140,7 +1140,7 @@ llvm::collectChildrenInLoop(DomTreeNode
void llvm::deleteDeadLoop(Loop *L, DominatorTree *DT = nullptr,
ScalarEvolution *SE = nullptr,
LoopInfo *LI = nullptr) {
- assert(!DT || L->isLCSSAForm(*DT) && "Expected LCSSA!");
+ assert((!DT || L->isLCSSAForm(*DT)) && "Expected LCSSA!");
auto *Preheader = L->getLoopPreheader();
assert(Preheader && "Preheader should exist!");
More information about the llvm-commits
mailing list