[polly] r186248 - Small style improvements

Tobias Grosser grosser at fim.uni-passau.de
Sat Jul 13 09:58:07 PDT 2013


Author: grosser
Date: Sat Jul 13 11:58:07 2013
New Revision: 186248

URL: http://llvm.org/viewvc/llvm-project?rev=186248&view=rev
Log:
Small style improvements

Modified:
    polly/trunk/lib/Analysis/ScopGraphPrinter.cpp
    polly/trunk/lib/Exchange/JSONExporter.cpp
    polly/trunk/lib/IndVarSimplify.cpp

Modified: polly/trunk/lib/Analysis/ScopGraphPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopGraphPrinter.cpp?rev=186248&r1=186247&r2=186248&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopGraphPrinter.cpp (original)
+++ polly/trunk/lib/Analysis/ScopGraphPrinter.cpp Sat Jul 13 11:58:07 2013
@@ -149,8 +149,9 @@ struct DOTGraphTraits<ScopDetection *> :
          BI != BE; ++BI)
       if (RI->getRegionFor(*BI) == R)
         O.indent(2 * (depth + 1))
-            << "Node" << static_cast<const void *>(
-                             RI->getTopLevelRegion()->getBBNode(*BI)) << ";\n";
+            << "Node"
+            << static_cast<void *>(RI->getTopLevelRegion()->getBBNode(*BI))
+            << ";\n";
 
     O.indent(2 * depth) << "}\n";
   }

Modified: polly/trunk/lib/Exchange/JSONExporter.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Exchange/JSONExporter.cpp?rev=186248&r1=186247&r2=186248&view=diff
==============================================================================
--- polly/trunk/lib/Exchange/JSONExporter.cpp (original)
+++ polly/trunk/lib/Exchange/JSONExporter.cpp Sat Jul 13 11:58:07 2013
@@ -262,8 +262,8 @@ bool JSONImporter::runOnScop(Scop &scop)
     for (ScopStmt::memacc_iterator MI = Stmt->memacc_begin(),
                                    ME = Stmt->memacc_end();
          MI != ME; ++MI) {
-      Json::Value accesses = jscop["statements"][statementIdx]["accesses"][
-          memoryAccessIdx]["relation"];
+      Json::Value accesses = jscop["statements"][statementIdx]["accesses"]
+                                  [memoryAccessIdx]["relation"];
       isl_map *newAccessMap =
           isl_map_read_from_str(S->getIslCtx(), accesses.asCString());
       isl_map *currentAccessMap = (*MI)->getAccessRelation();

Modified: polly/trunk/lib/IndVarSimplify.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/IndVarSimplify.cpp?rev=186248&r1=186247&r2=186248&view=diff
==============================================================================
--- polly/trunk/lib/IndVarSimplify.cpp (original)
+++ polly/trunk/lib/IndVarSimplify.cpp Sat Jul 13 11:58:07 2013
@@ -218,8 +218,7 @@ static bool ConvertToSInt(const APFloat
   // See if we can convert this to an int64_t
   uint64_t UIntVal;
   if (APF.convertToInteger(&UIntVal, 64, true, APFloat::rmTowardZero,
-                           &isExact) !=
-          APFloat::opOK ||
+                           &isExact) != APFloat::opOK ||
       !isExact)
     return false;
   IntVal = UIntVal;





More information about the llvm-commits mailing list