[polly] r225295 - Make registerPollyPasses public

Tobias Grosser tobias at grosser.es
Tue Jan 6 12:40:34 PST 2015


Author: grosser
Date: Tue Jan  6 14:40:33 2015
New Revision: 225295

URL: http://llvm.org/viewvc/llvm-project?rev=225295&view=rev
Log:
Make registerPollyPasses public

This function is needed for the integration of Polly into Julia.

Modified:
    polly/trunk/include/polly/RegisterPasses.h
    polly/trunk/lib/Support/RegisterPasses.cpp

Modified: polly/trunk/include/polly/RegisterPasses.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/RegisterPasses.h?rev=225295&r1=225294&r2=225295&view=diff
==============================================================================
--- polly/trunk/include/polly/RegisterPasses.h (original)
+++ polly/trunk/include/polly/RegisterPasses.h Tue Jan  6 14:40:33 2015
@@ -24,5 +24,6 @@ class PassManagerBase;
 
 namespace polly {
 void initializePollyPasses(llvm::PassRegistry &Registry);
+void registerPollyPasses(llvm::PassManagerBase &PM);
 }
 #endif

Modified: polly/trunk/lib/Support/RegisterPasses.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Support/RegisterPasses.cpp?rev=225295&r1=225294&r2=225295&view=diff
==============================================================================
--- polly/trunk/lib/Support/RegisterPasses.cpp (original)
+++ polly/trunk/lib/Support/RegisterPasses.cpp Tue Jan  6 14:40:33 2015
@@ -182,7 +182,7 @@ void initializePollyPasses(PassRegistry
 /// 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());





More information about the llvm-commits mailing list