Time the emission of debug values.

llvm-svn: 136584
This commit is contained in:
Jakob Stoklund Olesen 2011-07-31 03:53:42 +00:00
parent 17af66a62f
commit 163e7a73f1
1 changed files with 4 additions and 1 deletions

View File

@ -1595,7 +1595,10 @@ bool RAGreedy::runOnMachineFunction(MachineFunction &mf) {
}
// Write out new DBG_VALUE instructions.
DebugVars->emitDebugValues(VRM);
{
NamedRegionTimer T("Emit Debug Info", TimerGroupName, TimePassesIsEnabled);
DebugVars->emitDebugValues(VRM);
}
// The pass output is in VirtRegMap. Release all the transient data.
releaseMemory();