summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-07-31 03:53:42 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-07-31 03:53:42 +0000
commit163e7a73f1b5926133e80f40c8f6e79e06250376 (patch)
treea93f42ac2f51523c4de73e583396453c5c0affb0
parent17af66a62fba59653facee90a5e1b9b9347eee90 (diff)
downloadbcm5719-llvm-163e7a73f1b5926133e80f40c8f6e79e06250376.tar.gz
bcm5719-llvm-163e7a73f1b5926133e80f40c8f6e79e06250376.zip
Time the emission of debug values.
llvm-svn: 136584
-rw-r--r--llvm/lib/CodeGen/RegAllocGreedy.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocGreedy.cpp b/llvm/lib/CodeGen/RegAllocGreedy.cpp
index 239c8e43595..ecc47245c3b 100644
--- a/llvm/lib/CodeGen/RegAllocGreedy.cpp
+++ b/llvm/lib/CodeGen/RegAllocGreedy.cpp
@@ -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();
OpenPOWER on IntegriCloud