Fix GCC -Wparentheses warning (& reformat now that the precedence is fixed)

Benign warning (clang deliberately suppresses this case) but does
regularly produce bad formatting, so it's nice to fix/reformat.

llvm-svn: 232508
This commit is contained in:
David Blaikie 2015-03-17 17:48:24 +00:00
parent 5121c9aa92
commit c4dfa63928
1 changed files with 2 additions and 2 deletions

View File

@ -397,8 +397,8 @@ InductiveRangeCheck::create(InductiveRangeCheck::AllocatorTy &A, BranchInst *BI,
return nullptr; return nullptr;
assert(IndexSCEV && "contract with SplitRangeCheckCondition!"); assert(IndexSCEV && "contract with SplitRangeCheckCondition!");
assert(!(RCKind & InductiveRangeCheck::RANGE_CHECK_UPPER) || assert((!(RCKind & InductiveRangeCheck::RANGE_CHECK_UPPER) || Length) &&
Length && "contract with SplitRangeCheckCondition!"); "contract with SplitRangeCheckCondition!");
const SCEVAddRecExpr *IndexAddRec = dyn_cast<SCEVAddRecExpr>(IndexSCEV); const SCEVAddRecExpr *IndexAddRec = dyn_cast<SCEVAddRecExpr>(IndexSCEV);
bool IsAffineIndex = bool IsAffineIndex =