summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-07-05 15:38:37 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-07-05 15:38:37 +0000
commitb2090ecbf2feea994f3d3066f8ae69b77cbc666b (patch)
tree934a2f7f5105b604f01af6b73e567d0040d9ef22
parent870b3c5429ec112d70c920509ea7f1069cddeae1 (diff)
downloadbcm5719-llvm-b2090ecbf2feea994f3d3066f8ae69b77cbc666b.tar.gz
bcm5719-llvm-b2090ecbf2feea994f3d3066f8ae69b77cbc666b.zip
Tweak comment and debug output.
llvm-svn: 134412
-rw-r--r--llvm/lib/CodeGen/RegAllocGreedy.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/RegAllocGreedy.cpp b/llvm/lib/CodeGen/RegAllocGreedy.cpp
index acf7f95182f..195e4837c86 100644
--- a/llvm/lib/CodeGen/RegAllocGreedy.cpp
+++ b/llvm/lib/CodeGen/RegAllocGreedy.cpp
@@ -958,7 +958,8 @@ void RAGreedy::splitAroundRegion(LiveInterval &VirtReg,
//
// ~ Interference after last use.
// |---o---o--o| Live-out on stack, late last use.
- // =========____ Copy to stack after LSP, overlap MainIntv.
+ // ============ Copy to stack after LSP, overlap MainIntv.
+ // \_____ Stack interval is live-out.
//
if (!RegOut && Intf.first() > BI.LastUse.getBoundaryIndex()) {
assert(RegIn && "Stack-in, stack-out should already be handled");
@@ -998,8 +999,8 @@ void RAGreedy::splitAroundRegion(LiveInterval &VirtReg,
// The interference is overlapping somewhere we wanted to use MainIntv. That
// means we need to create a local interval that can be allocated a
// different register.
- DEBUG(dbgs() << ", creating local interval.\n");
unsigned LocalIntv = SE->openIntv();
+ DEBUG(dbgs() << ", creating local interval " << LocalIntv << ".\n");
// We may be creating copies directly between MainIntv and LocalIntv,
// bypassing the stack interval. When we do that, we should never use the
OpenPOWER on IntegriCloud