projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5dd550
)
Time the emission of debug values.
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Sun, 31 Jul 2011 03:53:42 +0000
(
03:53
+0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Sun, 31 Jul 2011 03:53:42 +0000
(
03:53
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136584
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/RegAllocGreedy.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/RegAllocGreedy.cpp
b/lib/CodeGen/RegAllocGreedy.cpp
index 239c8e4359511325a062768fa89e3c1b86e3dce4..ecc47245c3b56fb3264e08cf7daffd83d119d362 100644
(file)
--- a/
lib/CodeGen/RegAllocGreedy.cpp
+++ b/
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();