[polly] r222102 - Remove an unnecessary ifdef
Tobias Grosser
tobias at grosser.es
Sun Nov 16 09:16:30 PST 2014
Author: grosser
Date: Sun Nov 16 11:16:30 2014
New Revision: 222102
URL: http://llvm.org/viewvc/llvm-project?rev=222102&view=rev
Log:
Remove an unnecessary ifdef
Reported-by: Johannes Doerfert <doerfert at cs.uni-saarland.de>
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=222102&r1=222101&r2=222102&view=diff
==============================================================================
--- polly/trunk/lib/Support/RegisterPasses.cpp (original)
+++ polly/trunk/lib/Support/RegisterPasses.cpp Sun Nov 16 11:16:30 2014
@@ -66,12 +66,6 @@ static cl::opt<OptimizerChoice> Optimize
cl::Hidden, cl::init(OPTIMIZER_ISL), cl::ZeroOrMore,
cl::cat(PollyCategory));
-#ifdef CLOOG_FOUND
-enum CodeGenChoice DefaultCodeGen = CODEGEN_ISL;
-#else
-enum CodeGenChoice DefaultCodeGen = CODEGEN_ISL;
-#endif
-
CodeGenChoice polly::PollyCodeGenChoice;
static cl::opt<CodeGenChoice, true> XCodeGenerator(
"polly-code-generator", cl::desc("Select the code generator"),
@@ -81,7 +75,7 @@ static cl::opt<CodeGenChoice, true> XCod
#endif
clEnumValN(CODEGEN_ISL, "isl", "isl code generator"),
clEnumValN(CODEGEN_NONE, "none", "no code generation"), clEnumValEnd),
- cl::Hidden, cl::location(PollyCodeGenChoice), cl::init(DefaultCodeGen),
+ cl::Hidden, cl::location(PollyCodeGenChoice), cl::init(CODEGEN_ISL),
cl::ZeroOrMore, cl::cat(PollyCategory));
VectorizerChoice polly::PollyVectorizerChoice;
More information about the llvm-commits
mailing list