diff options
-rw-r--r-- | polly/include/polly/RegisterPasses.h | 8 | ||||
-rw-r--r-- | polly/lib/RegisterPasses.cpp | 2 |
2 files changed, 1 insertions, 9 deletions
diff --git a/polly/include/polly/RegisterPasses.h b/polly/include/polly/RegisterPasses.h index 10ff09a2205..680fc2a4b30 100644 --- a/polly/include/polly/RegisterPasses.h +++ b/polly/include/polly/RegisterPasses.h @@ -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 diff --git a/polly/lib/RegisterPasses.cpp b/polly/lib/RegisterPasses.cpp index faee827d6eb..b83e9af6ca0 100644 --- a/polly/lib/RegisterPasses.cpp +++ b/polly/lib/RegisterPasses.cpp @@ -159,7 +159,7 @@ public: 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 |