make registerPollyPreoptPasses static

llvm-svn: 156326
This commit is contained in:
Sebastian Pop 2012-05-07 21:27:11 +00:00
parent 5cc8caf88d
commit 8b7f01c6a1
2 changed files with 1 additions and 9 deletions

View File

@ -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

View File

@ -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