diff options
| author | Devang Patel <dpatel@apple.com> | 2008-07-03 07:02:30 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2008-07-03 07:02:30 +0000 |
| commit | 340a3b528f89f5e3d83a100f3187d9e05fec6780 (patch) | |
| tree | 0f53e9507640512092865defc3c6a8d4035351cf | |
| parent | 3be85a5913cc6eb6c87fc9ada0f2ad44cc33051c (diff) | |
| download | external_llvm-340a3b528f89f5e3d83a100f3187d9e05fec6780.zip external_llvm-340a3b528f89f5e3d83a100f3187d9e05fec6780.tar.gz external_llvm-340a3b528f89f5e3d83a100f3187d9e05fec6780.tar.bz2 | |
Keep track of inherited analysis (e.g. dominator tree).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53088 91177308-0d34-0410-b5e6-96231b3b80d8
| -rw-r--r-- | lib/Analysis/LoopPass.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Analysis/LoopPass.cpp b/lib/Analysis/LoopPass.cpp index 2236834..4cbafab 100644 --- a/lib/Analysis/LoopPass.cpp +++ b/lib/Analysis/LoopPass.cpp @@ -184,6 +184,9 @@ bool LPPassManager::runOnFunction(Function &F) { LI = &getAnalysis<LoopInfo>(); bool Changed = false; + // Collect inherited analysis from Module level pass manager. + populateInheritedAnalysis(TPM->activeStack); + // Populate Loop Queue for (LoopInfo::iterator I = LI->begin(), E = LI->end(); I != E; ++I) addLoopIntoQueue(*I, LQ); |
