forked from OSchip/llvm-project
parent
5cc8caf88d
commit
8b7f01c6a1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue