[polly] r205804 - clang format last patch

Sebastian Pop spop at codeaurora.org
Tue Apr 8 14:37:59 PDT 2014


Author: spop
Date: Tue Apr  8 16:37:58 2014
New Revision: 205804

URL: http://llvm.org/viewvc/llvm-project?rev=205804&view=rev
Log:
clang format last patch

Modified:
    polly/trunk/lib/Analysis/TempScopInfo.cpp

Modified: polly/trunk/lib/Analysis/TempScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/TempScopInfo.cpp?rev=205804&r1=205803&r2=205804&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/TempScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/TempScopInfo.cpp Tue Apr  8 16:37:58 2014
@@ -176,11 +176,11 @@ IRAccess TempScopInfo::buildIRAccess(Ins
     const SCEV *Remainder = AF->delinearize(*SE, Subscripts, Sizes);
     int NSubs = Subscripts.size();
 
-    // Normalize the last dimension: integrate the size of the "scalar dimension"
-    // and the remainder of the delinearization.
-    Subscripts[NSubs-1] = SE->getMulExpr(Subscripts[NSubs-1],
-                                         Sizes[NSubs-1]);
-    Subscripts[NSubs-1] = SE->getAddExpr(Subscripts[NSubs-1], Remainder);
+    // Normalize the last dimension: integrate the size of the "scalar
+    // dimension" and the remainder of the delinearization.
+    Subscripts[NSubs - 1] =
+        SE->getMulExpr(Subscripts[NSubs - 1], Sizes[NSubs - 1]);
+    Subscripts[NSubs - 1] = SE->getAddExpr(Subscripts[NSubs - 1], Remainder);
 
     for (int i = 0; i < NSubs; ++i)
       if (!isAffineExpr(R, Subscripts[i], *SE, BasePointer->getValue())) {
@@ -195,8 +195,8 @@ IRAccess TempScopInfo::buildIRAccess(Ins
     IsAffine = isAffineExpr(R, AccessFunction, *SE, BasePointer->getValue());
   }
 
-  return IRAccess(Type, BasePointer->getValue(), AccessFunction, Size,
-                  IsAffine, Subscripts, Sizes);
+  return IRAccess(Type, BasePointer->getValue(), AccessFunction, Size, IsAffine,
+                  Subscripts, Sizes);
 }
 
 void TempScopInfo::buildAccessFunctions(Region &R, BasicBlock &BB) {





More information about the llvm-commits mailing list