Skip to content

Commit

Permalink
Fix formatting after recent cl:: changes
Browse files Browse the repository at this point in the history
This fixes 'make check-polly'

llvm-svn: 283693
  • Loading branch information
tobiasgrosser committed Oct 9, 2016
1 parent 4397315 commit b270288
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions polly/lib/Support/RegisterPasses.cpp
Expand Up @@ -71,12 +71,13 @@ static cl::opt<PassPositionChoice> PassPosition(
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(
Expand All @@ -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;
Expand All @@ -103,8 +105,9 @@ static cl::opt<polly::VectorizerChoice, true> Vectorizer(
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));

Expand Down

0 comments on commit b270288

Please sign in to comment.