[polly] r283693 - Fix formatting after recent cl:: changes

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 9 01:31:36 PDT 2016


Author: grosser
Date: Sun Oct  9 03:31:35 2016
New Revision: 283693

URL: http://llvm.org/viewvc/llvm-project?rev=283693&view=rev
Log:
Fix formatting after recent cl:: changes

This fixes 'make check-polly'

Modified:
    polly/trunk/lib/Support/RegisterPasses.cpp

Modified: polly/trunk/lib/Support/RegisterPasses.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Support/RegisterPasses.cpp?rev=283693&r1=283692&r2=283693&view=diff
==============================================================================
--- polly/trunk/lib/Support/RegisterPasses.cpp (original)
+++ polly/trunk/lib/Support/RegisterPasses.cpp Sun Oct  9 03:31:35 2016
@@ -71,12 +71,13 @@ static cl::opt<PassPositionChoice> PassP
     cl::Hidden, cl::init(POSITION_EARLY), cl::ZeroOrMore,
     cl::cat(PollyCategory));
 
-static cl::opt<OptimizerChoice> Optimizer(
-    "polly-optimizer", cl::desc("Select the scheduling optimizer"),
-    cl::values(clEnumValN(OPTIMIZER_NONE, "none", "No optimizer"),
-               clEnumValN(OPTIMIZER_ISL, "isl", "The isl scheduling optimizer")),
-    cl::Hidden, cl::init(OPTIMIZER_ISL), cl::ZeroOrMore,
-    cl::cat(PollyCategory));
+static cl::opt<OptimizerChoice>
+    Optimizer("polly-optimizer", cl::desc("Select the scheduling optimizer"),
+              cl::values(clEnumValN(OPTIMIZER_NONE, "none", "No optimizer"),
+                         clEnumValN(OPTIMIZER_ISL, "isl",
+                                    "The isl scheduling optimizer")),
+              cl::Hidden, cl::init(OPTIMIZER_ISL), cl::ZeroOrMore,
+              cl::cat(PollyCategory));
 
 enum CodeGenChoice { CODEGEN_FULL, CODEGEN_AST, CODEGEN_NONE };
 static cl::opt<CodeGenChoice> CodeGeneration(
@@ -91,9 +92,10 @@ static cl::opt<TargetChoice>
     Target("polly-target", cl::desc("The hardware to target"),
            cl::values(clEnumValN(TARGET_CPU, "cpu", "generate CPU code")
 #ifdef GPU_CODEGEN
-                      , clEnumValN(TARGET_GPU, "gpu", "generate GPU code")
+                          ,
+                      clEnumValN(TARGET_GPU, "gpu", "generate GPU code")
 #endif
-                      ),
+                          ),
            cl::init(TARGET_CPU), cl::ZeroOrMore, cl::cat(PollyCategory));
 
 VectorizerChoice polly::PollyVectorizerChoice;
@@ -103,8 +105,9 @@ static cl::opt<polly::VectorizerChoice,
         clEnumValN(polly::VECTORIZER_NONE, "none", "No Vectorization"),
         clEnumValN(polly::VECTORIZER_POLLY, "polly",
                    "Polly internal vectorizer"),
-        clEnumValN(polly::VECTORIZER_STRIPMINE, "stripmine",
-                   "Strip-mine outer loops for the loop-vectorizer to trigger")),
+        clEnumValN(
+            polly::VECTORIZER_STRIPMINE, "stripmine",
+            "Strip-mine outer loops for the loop-vectorizer to trigger")),
     cl::location(PollyVectorizerChoice), cl::init(polly::VECTORIZER_NONE),
     cl::ZeroOrMore, cl::cat(PollyCategory));
 




More information about the llvm-commits mailing list