[polly] r187023 - ScopInfo/IndependentBlocks: clang-format

Tobias Grosser tobias at grosser.es
Tue Jul 23 23:10:30 PDT 2013


Author: grosser
Date: Wed Jul 24 01:10:30 2013
New Revision: 187023

URL: http://llvm.org/viewvc/llvm-project?rev=187023&view=rev
Log:
ScopInfo/IndependentBlocks: clang-format

Modified:
    polly/trunk/lib/Analysis/ScopInfo.cpp
    polly/trunk/lib/IndependentBlocks.cpp

Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=187023&r1=187022&r2=187023&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Wed Jul 24 01:10:30 2013
@@ -486,8 +486,8 @@ void ScopStmt::buildAccesses(TempScop &t
                                       E = AccFuncs->end();
        I != E; ++I) {
     MemAccs.push_back(new MemoryAccess(I->first, I->second, this));
-    assert(!InstructionToAccess.count(I->second)
-           && "Unexpected 1-to-N mapping on instruction to access map!");
+    assert(!InstructionToAccess.count(I->second) &&
+           "Unexpected 1-to-N mapping on instruction to access map!");
     InstructionToAccess[I->second] = MemAccs.back();
   }
 }

Modified: polly/trunk/lib/IndependentBlocks.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/IndependentBlocks.cpp?rev=187023&r1=187022&r2=187023&view=diff
==============================================================================
--- polly/trunk/lib/IndependentBlocks.cpp (original)
+++ polly/trunk/lib/IndependentBlocks.cpp Wed Jul 24 01:10:30 2013
@@ -31,10 +31,10 @@
 using namespace polly;
 using namespace llvm;
 
-static cl::opt<bool>
-DisableIntraScopScalarToArray("disable-polly-intra-scop-scalar-to-array",
-  cl::desc("Do not rewrite scalar to array to generate independent blocks"),
-  cl::Hidden, cl::init(false), cl::cat(PollyCategory));
+static cl::opt<bool> DisableIntraScopScalarToArray(
+    "disable-polly-intra-scop-scalar-to-array",
+    cl::desc("Do not rewrite scalar to array to generate independent blocks"),
+    cl::Hidden, cl::init(false), cl::cat(PollyCategory));
 
 namespace {
 struct IndependentBlocks : public FunctionPass {
@@ -385,7 +385,8 @@ bool IndependentBlocks::translateScalarT
       if (isEscapeUse(U, R))
         LoadOutside.push_back(U);
 
-      if (DisableIntraScopScalarToArray) continue;
+      if (DisableIntraScopScalarToArray)
+        continue;
 
       if (canSynthesize(U, LI, SE, R))
         continue;
@@ -473,7 +474,8 @@ bool IndependentBlocks::isIndependentBlo
       }
     }
 
-    if (DisableIntraScopScalarToArray) continue;
+    if (DisableIntraScopScalarToArray)
+      continue;
 
     for (Instruction::op_iterator OI = Inst->op_begin(), OE = Inst->op_end();
          OI != OE; ++OI) {





More information about the llvm-commits mailing list