[llvm-commits] [polly] r156326 - in /polly/trunk: include/polly/RegisterPasses.h lib/RegisterPasses.cpp

Sebastian Pop spop at codeaurora.org
Mon May 7 14:27:11 PDT 2012


Author: spop
Date: Mon May  7 16:27:11 2012
New Revision: 156326

URL: http://llvm.org/viewvc/llvm-project?rev=156326&view=rev
Log:
make registerPollyPreoptPasses static

Modified:
    polly/trunk/include/polly/RegisterPasses.h
    polly/trunk/lib/RegisterPasses.cpp

Modified: polly/trunk/include/polly/RegisterPasses.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/RegisterPasses.h?rev=156326&r1=156325&r2=156326&view=diff
==============================================================================
--- polly/trunk/include/polly/RegisterPasses.h (original)
+++ polly/trunk/include/polly/RegisterPasses.h Mon May  7 16:27:11 2012
@@ -16,12 +16,4 @@
 namespace llvm {
   class PassManagerBase;
 }
-
-namespace polly {
-// Register the Polly preoptimization passes. Preoptimizations are used to
-// prepare the LLVM-IR for Polly. They increase the amount of code that can be
-// optimized.
-// (These passes are automatically included in registerPollyPasses).
-void registerPollyPreoptPasses(llvm::PassManagerBase &PM);
-}
 #endif

Modified: polly/trunk/lib/RegisterPasses.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/RegisterPasses.cpp?rev=156326&r1=156325&r2=156326&view=diff
==============================================================================
--- polly/trunk/lib/RegisterPasses.cpp (original)
+++ polly/trunk/lib/RegisterPasses.cpp Mon May  7 16:27:11 2012
@@ -159,7 +159,7 @@
 
 static StaticInitializer InitializeEverything;
 
-void polly::registerPollyPreoptPasses(llvm::PassManagerBase &PM) {
+static void registerPollyPreoptPasses(llvm::PassManagerBase &PM) {
   // A standard set of optimization passes partially taken/copied from the
   // set of default optimization passes. It is used to bring the code into
   // a canonical form that can than be analyzed by Polly. This set of passes is





More information about the llvm-commits mailing list