mirror of
https://github.com/intel/llvm.git
synced 2026-01-14 20:10:50 +08:00
make registerPollyPreoptPasses static
llvm-svn: 156326
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user