[polly] r190842 - clang-format recent change

Tobias Grosser tobias at grosser.es
Mon Sep 16 20:30:37 PDT 2013


Author: grosser
Date: Mon Sep 16 22:30:36 2013
New Revision: 190842

URL: http://llvm.org/viewvc/llvm-project?rev=190842&view=rev
Log:
clang-format recent change

Modified:
    polly/trunk/lib/IndVarSimplify.cpp

Modified: polly/trunk/lib/IndVarSimplify.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/IndVarSimplify.cpp?rev=190842&r1=190841&r2=190842&view=diff
==============================================================================
--- polly/trunk/lib/IndVarSimplify.cpp (original)
+++ polly/trunk/lib/IndVarSimplify.cpp Mon Sep 16 22:30:36 2013
@@ -1557,11 +1557,10 @@ static Value *genLoopLimit(PHINode *IndV
     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");





More information about the llvm-commits mailing list