mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-05 13:09:10 +00:00
Add parentheses to disambiguate the precedence of these operations and
silence -Wparentheses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143534 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1bfc9f8ff2
commit
94dffd2bb0
@ -1588,8 +1588,8 @@ LinearFunctionTestReplace(Loop *L,
|
||||
|
||||
assert(SE->isLoopInvariant(IVLimit, L) &&
|
||||
"Computed iteration count is not loop invariant!");
|
||||
assert( EnableIVRewrite || !IVLimit->getType()->isPointerTy() &&
|
||||
"Should not expand pointer types" );
|
||||
assert((EnableIVRewrite || !IVLimit->getType()->isPointerTy()) &&
|
||||
"Should not expand pointer types" );
|
||||
Value *ExitCnt = Rewriter.expandCodeFor(IVLimit, CmpTy, BI);
|
||||
|
||||
// Create a gep for IVInit + IVLimit from on an existing pointer base.
|
||||
|
Loading…
Reference in New Issue
Block a user