Time the initial seeding of live registers
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 11 Apr 2011 15:00:42 +0000 (15:00 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 11 Apr 2011 15:00:42 +0000 (15:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129276 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RegAllocBasic.cpp

index 0e218a75d9944e83abc6e0f48b16a77c55565bd2..a0c1ec52ab22f970d35a26c10710cd2f47924bd8 100644 (file)
@@ -258,6 +258,7 @@ void RegAllocBase::releaseMemory() {
 // register, unify them with the corresponding LiveIntervalUnion, otherwise push
 // them on the priority queue for later assignment.
 void RegAllocBase::seedLiveRegs() {
+  NamedRegionTimer T("Seed Live Regs", TimerGroupName, TimePassesIsEnabled);
   for (LiveIntervals::iterator I = LIS->begin(), E = LIS->end(); I != E; ++I) {
     unsigned RegNum = I->first;
     LiveInterval &VirtReg = *I->second;