[polly] c7ca01b - [polly] Format RegisterPasses.cpp

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 28 10:25:54 PDT 2022


Author: Arthur Eubanks
Date: 2022-10-28T10:25:46-07:00
New Revision: c7ca01b8d7d66e60d59e45340b9592fcd579ed38

URL: https://github.com/llvm/llvm-project/commit/c7ca01b8d7d66e60d59e45340b9592fcd579ed38
DIFF: https://github.com/llvm/llvm-project/commit/c7ca01b8d7d66e60d59e45340b9592fcd579ed38.diff

LOG: [polly] Format RegisterPasses.cpp

Added: 
    

Modified: 
    polly/lib/Support/RegisterPasses.cpp

Removed: 
    


################################################################################
diff  --git a/polly/lib/Support/RegisterPasses.cpp b/polly/lib/Support/RegisterPasses.cpp
index 1f8653d603b82..52ffa5feb523d 100644
--- a/polly/lib/Support/RegisterPasses.cpp
+++ b/polly/lib/Support/RegisterPasses.cpp
@@ -72,19 +72,15 @@ static cl::opt<bool> PollyDetectOnly(
     cl::desc("Only run scop detection, but no other optimizations"),
     cl::cat(PollyCategory));
 
-enum PassPositionChoice {
-  POSITION_EARLY,
-  POSITION_BEFORE_VECTORIZER
-};
+enum PassPositionChoice { POSITION_EARLY, POSITION_BEFORE_VECTORIZER };
 
 enum OptimizerChoice { OPTIMIZER_NONE, OPTIMIZER_ISL };
 
 static cl::opt<PassPositionChoice> PassPosition(
     "polly-position", cl::desc("Where to run polly in the pass pipeline"),
-    cl::values(
-        clEnumValN(POSITION_EARLY, "early", "Before everything"),
-        clEnumValN(POSITION_BEFORE_VECTORIZER, "before-vectorizer",
-                   "Right before the vectorizer")),
+    cl::values(clEnumValN(POSITION_EARLY, "early", "Before everything"),
+               clEnumValN(POSITION_BEFORE_VECTORIZER, "before-vectorizer",
+                          "Right before the vectorizer")),
     cl::Hidden, cl::init(POSITION_BEFORE_VECTORIZER), cl::cat(PollyCategory));
 
 static cl::opt<OptimizerChoice>


        


More information about the llvm-commits mailing list