diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-07-05 15:38:37 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-07-05 15:38:37 +0000 |
commit | 2b0f4abfbe1c651fe6bd233bf89373d276c535a8 (patch) | |
tree | e89db8a89296c3cc5a474bec38f827427de6ad33 /lib | |
parent | dedd6ee135f886e219035b2cf5957ce492f90ed1 (diff) | |
download | external_llvm-2b0f4abfbe1c651fe6bd233bf89373d276c535a8.zip external_llvm-2b0f4abfbe1c651fe6bd233bf89373d276c535a8.tar.gz external_llvm-2b0f4abfbe1c651fe6bd233bf89373d276c535a8.tar.bz2 |
Tweak comment and debug output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134412 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/RegAllocGreedy.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/CodeGen/RegAllocGreedy.cpp b/lib/CodeGen/RegAllocGreedy.cpp index acf7f95..195e483 100644 --- a/lib/CodeGen/RegAllocGreedy.cpp +++ b/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 |