summaryrefslogtreecommitdiffstats
path: root/polly/lib/Support
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-10-12 20:03:41 +0000
committerTobias Grosser <tobias@grosser.es>2015-10-12 20:03:41 +0000
commitd17183f20f8ee88aae8426594651536e2f2289ed (patch)
tree3d8fb9b6d88d2575bad05a8457995a018b0f1c14 /polly/lib/Support
parent5f21c718007fdc3b801690ef96908b43b8a1924e (diff)
downloadbcm5719-llvm-d17183f20f8ee88aae8426594651536e2f2289ed.tar.gz
bcm5719-llvm-d17183f20f8ee88aae8426594651536e2f2289ed.zip
Use EP_ModuleOptimizerEarly to run early polly passes,
instead of llvm::PassManagerBuilder::EP_EarlyAsPossible. This will allow us to run actual module passes in Polly's canonicalization sequence, but should otherwise have only little impact. llvm-svn: 250091
Diffstat (limited to 'polly/lib/Support')
-rw-r--r--polly/lib/Support/RegisterPasses.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/polly/lib/Support/RegisterPasses.cpp b/polly/lib/Support/RegisterPasses.cpp
index 34105585c2e..895af356d98 100644
--- a/polly/lib/Support/RegisterPasses.cpp
+++ b/polly/lib/Support/RegisterPasses.cpp
@@ -318,9 +318,9 @@ registerPollyScalarOptimizerLatePasses(const llvm::PassManagerBuilder &Builder,
/// c). b) is likely to early as it interacts with the inliner. c) is nice
/// as everything is fully inlined and canonicalized, but we need to be able
/// to handle LICMed code to make it useful.
-static llvm::RegisterStandardPasses
- RegisterPollyOptimizerEarly(llvm::PassManagerBuilder::EP_EarlyAsPossible,
- registerPollyEarlyAsPossiblePasses);
+static llvm::RegisterStandardPasses RegisterPollyOptimizerEarly(
+ llvm::PassManagerBuilder::EP_ModuleOptimizerEarly,
+ registerPollyEarlyAsPossiblePasses);
static llvm::RegisterStandardPasses
RegisterPollyOptimizerLoopEnd(llvm::PassManagerBuilder::EP_LoopOptimizerEnd,
OpenPOWER on IntegriCloud