mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 06:32:24 +00:00
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
This commit is contained in:
parent
f31b3bbd10
commit
70c09c54b1
@ -184,6 +184,9 @@ bool LPPassManager::runOnFunction(Function &F) {
|
|||||||
LI = &getAnalysis<LoopInfo>();
|
LI = &getAnalysis<LoopInfo>();
|
||||||
bool Changed = false;
|
bool Changed = false;
|
||||||
|
|
||||||
|
// Collect inherited analysis from Module level pass manager.
|
||||||
|
populateInheritedAnalysis(TPM->activeStack);
|
||||||
|
|
||||||
// Populate Loop Queue
|
// Populate Loop Queue
|
||||||
for (LoopInfo::iterator I = LI->begin(), E = LI->end(); I != E; ++I)
|
for (LoopInfo::iterator I = LI->begin(), E = LI->end(); I != E; ++I)
|
||||||
addLoopIntoQueue(*I, LQ);
|
addLoopIntoQueue(*I, LQ);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user