forked from OSchip/llvm-project
Make registerPollyPasses public
This function is needed for the integration of Polly into Julia. llvm-svn: 225295
This commit is contained in:
parent
d8e38a3206
commit
80f6f11330
|
@ -24,5 +24,6 @@ class PassManagerBase;
|
|||
|
||||
namespace polly {
|
||||
void initializePollyPasses(llvm::PassRegistry &Registry);
|
||||
void registerPollyPasses(llvm::PassManagerBase &PM);
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -182,7 +182,7 @@ void initializePollyPasses(PassRegistry &Registry) {
|
|||
/// scheduling optimizer.
|
||||
///
|
||||
/// Polly supports the isl internal code generator.
|
||||
static void registerPollyPasses(llvm::PassManagerBase &PM) {
|
||||
void registerPollyPasses(llvm::PassManagerBase &PM) {
|
||||
registerCanonicalicationPasses(PM);
|
||||
|
||||
PM.add(polly::createScopInfoPass());
|
||||
|
|
Loading…
Reference in New Issue