Changes in directory llvm/lib/VMCore:
PassManagerT.h updated: 1.68 -> 1.69 --- Log message: Count the time for a pass to ReleaseMemory against that pass. Not doing this was under accounting for the time that livevariables cost --- Diffs of the changes: (+2 -0) PassManagerT.h | 2 ++ 1 files changed, 2 insertions(+) Index: llvm/lib/VMCore/PassManagerT.h diff -u llvm/lib/VMCore/PassManagerT.h:1.68 llvm/lib/VMCore/PassManagerT.h:1.69 --- llvm/lib/VMCore/PassManagerT.h:1.68 Sun Aug 27 19:08:25 2006 +++ llvm/lib/VMCore/PassManagerT.h Sat Sep 2 18:09:24 2006 @@ -670,7 +670,9 @@ for (std::vector<Pass*>::iterator I = DeadPass.begin(),E = DeadPass.end(); I != E; ++I) { PMDebug::PrintPassInformation(getDepth()+1, "Freeing Pass", *I, M); + if (TheTimeInfo) TheTimeInfo->passStarted(*I); (*I)->releaseMemory(); + if (TheTimeInfo) TheTimeInfo->passEnded(*I); } for (std::map<AnalysisID, Pass*>::iterator I = CurrentAnalyses.begin(); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits