summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocBase.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-11-22 19:07:42 +0000
committerAndrew Trick <atrick@apple.com>2013-11-22 19:07:42 +0000
commit059e800fdaf414725a3777c4a16fcb71c38bddf7 (patch)
treeab89de93c347183fddeb2029842e041193606a45 /llvm/lib/CodeGen/RegAllocBase.cpp
parent3621b8a2174142d36bc189652b973977d7425343 (diff)
downloadbcm5719-llvm-059e800fdaf414725a3777c4a16fcb71c38bddf7.tar.gz
bcm5719-llvm-059e800fdaf414725a3777c4a16fcb71c38bddf7.zip
DEBUG shouldEvict decisions
llvm-svn: 195490
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBase.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocBase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/RegAllocBase.cpp b/llvm/lib/CodeGen/RegAllocBase.cpp
index 293e306a291..2e433811f44 100644
--- a/llvm/lib/CodeGen/RegAllocBase.cpp
+++ b/llvm/lib/CodeGen/RegAllocBase.cpp
@@ -101,8 +101,8 @@ void RegAllocBase::allocatePhysRegs() {
// register if possible and populate a list of new live intervals that
// result from splitting.
DEBUG(dbgs() << "\nselectOrSplit "
- << MRI->getRegClass(VirtReg->reg)->getName()
- << ':' << *VirtReg << '\n');
+ << MRI->getRegClass(VirtReg->reg)->getName()
+ << ':' << *VirtReg << " w=" << VirtReg->weight << '\n');
typedef SmallVector<unsigned, 4> VirtRegVec;
VirtRegVec SplitVRegs;
unsigned AvailablePhysReg = selectOrSplit(*VirtReg, SplitVRegs);
OpenPOWER on IntegriCloud