[llvm-commits] [llvm] r53088 - /llvm/trunk/lib/Analysis/LoopPass.cpp
Devang Patel
dpatel at apple.com
Thu Jul 3 00:02:30 PDT 2008
Author: dpatel
Date: Thu Jul 3 02:02:30 2008
New Revision: 53088
URL: http://llvm.org/viewvc/llvm-project?rev=53088&view=rev
Log:
Keep track of inherited analysis (e.g. dominator tree).
Modified:
llvm/trunk/lib/Analysis/LoopPass.cpp
Modified: llvm/trunk/lib/Analysis/LoopPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/LoopPass.cpp?rev=53088&r1=53087&r2=53088&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/LoopPass.cpp (original)
+++ llvm/trunk/lib/Analysis/LoopPass.cpp Thu Jul 3 02:02:30 2008
@@ -184,6 +184,9 @@
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);
More information about the llvm-commits
mailing list