aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/RegAllocGreedy.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-19 23:02:47 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-03-19 23:02:47 +0000
commitc1655e1a3c3a566b91b0513b56d61b58da1e36ba (patch)
treea5549c60e008246b7a8c68022a7797cc7faed85c /lib/CodeGen/RegAllocGreedy.cpp
parentf6474f69d3c3298499a4767f445f928fb83cd4d3 (diff)
downloadexternal_llvm-c1655e1a3c3a566b91b0513b56d61b58da1e36ba.tar.gz
external_llvm-c1655e1a3c3a566b91b0513b56d61b58da1e36ba.tar.bz2
external_llvm-c1655e1a3c3a566b91b0513b56d61b58da1e36ba.zip
Add debug output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127959 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocGreedy.cpp')
-rw-r--r--lib/CodeGen/RegAllocGreedy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/RegAllocGreedy.cpp b/lib/CodeGen/RegAllocGreedy.cpp
index 6feae4790d..c1d8272dc5 100644
--- a/lib/CodeGen/RegAllocGreedy.cpp
+++ b/lib/CodeGen/RegAllocGreedy.cpp
@@ -1265,6 +1265,7 @@ unsigned RAGreedy::selectOrSplit(LiveInterval &VirtReg,
// Wait until the second time, when all smaller ranges have been allocated.
// This gives a better picture of the interference to split around.
if (Stage == RS_Original) {
+ DEBUG(dbgs() << "wait for second round\n");
NewVRegs.push_back(&VirtReg);
return 0;
}