[polly] r200209 - Remove an unused parameter
Tobias Grosser
tobias at grosser.es
Mon Jan 27 02:44:26 PST 2014
Author: grosser
Date: Mon Jan 27 04:44:25 2014
New Revision: 200209
URL: http://llvm.org/viewvc/llvm-project?rev=200209&view=rev
Log:
Remove an unused parameter
Modified:
polly/trunk/lib/RegisterPasses.cpp
Modified: polly/trunk/lib/RegisterPasses.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/RegisterPasses.cpp?rev=200209&r1=200208&r2=200209&view=diff
==============================================================================
--- polly/trunk/lib/RegisterPasses.cpp (original)
+++ polly/trunk/lib/RegisterPasses.cpp Mon Jan 27 04:44:25 2014
@@ -289,7 +289,7 @@ static void registerPollyPasses(llvm::Pa
PM.add(llvm::createCFGPrinterPass());
}
-static bool shouldEnablePolly(unsigned OptLevel) {
+static bool shouldEnablePolly() {
if (PollyOnlyPrinter || PollyPrinter || PollyOnlyViewer || PollyViewer)
PollyTrackFailures = true;
@@ -304,7 +304,7 @@ static void
registerPollyEarlyAsPossiblePasses(const llvm::PassManagerBuilder &Builder,
llvm::PassManagerBase &PM) {
- if (!shouldEnablePolly(Builder.OptLevel))
+ if (!shouldEnablePolly())
return;
registerPollyPasses(PM);
More information about the llvm-commits
mailing list