forked from OSchip/llvm-project
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:
parent
5121c9aa92
commit
c4dfa63928
|
@ -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 =
|
||||||
|
|
Loading…
Reference in New Issue