diff options
author | Tobias Grosser <tobias@grosser.es> | 2013-09-17 03:30:36 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2013-09-17 03:30:36 +0000 |
commit | b276158efa17a78cad144a547bf1e657ad6dda18 (patch) | |
tree | d232e37f7b006ead0916e6eddd21936ab6d691b2 /polly/lib/IndVarSimplify.cpp | |
parent | 0695ee433eb05caba458385ed79173b40b67cbea (diff) | |
download | bcm5719-llvm-b276158efa17a78cad144a547bf1e657ad6dda18.tar.gz bcm5719-llvm-b276158efa17a78cad144a547bf1e657ad6dda18.zip |
clang-format recent change
llvm-svn: 190842
Diffstat (limited to 'polly/lib/IndVarSimplify.cpp')
-rw-r--r-- | polly/lib/IndVarSimplify.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/polly/lib/IndVarSimplify.cpp b/polly/lib/IndVarSimplify.cpp index 9f057627e1b..9869f7aa933 100644 --- a/polly/lib/IndVarSimplify.cpp +++ b/polly/lib/IndVarSimplify.cpp @@ -1557,11 +1557,10 @@ static Value *genLoopLimit(PHINode *IndVar, const SCEV *IVCount, Loop *L, assert(AR->getStart() == SE->getSCEV(GEPBase) && "bad loop counter"); // We could handle pointer IVs other than i8*, but we need to compensate for // gep index scaling. See canExpandBackedgeTakenCount comments. - assert( - SE->getSizeOfExpr( - IntegerType::getInt64Ty(IndVar->getContext()), - cast<PointerType>(GEPBase->getType())->getElementType())->isOne() && - "unit stride pointer IV must be i8*"); + assert(SE->getSizeOfExpr(IntegerType::getInt64Ty(IndVar->getContext()), + cast<PointerType>(GEPBase->getType()) + ->getElementType())->isOne() && + "unit stride pointer IV must be i8*"); IRBuilder<> Builder(L->getLoopPreheader()->getTerminator()); return Builder.CreateGEP(GEPBase, GEPOffset, "lftr.limit"); |