Skip to content

Commit

Permalink
[polly] Format RegisterPasses.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
aeubanks committed Oct 28, 2022
1 parent b9a77b5 commit c7ca01b
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions polly/lib/Support/RegisterPasses.cpp
Expand Up @@ -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>
Expand Down

0 comments on commit c7ca01b

Please sign in to comment.