summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-10-30 01:26:09 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-10-30 01:26:09 +0000
commit6d808331ae26713a0e9f77fa32f73faa03de487a (patch)
treec9f5517bab9dd0f24608861c13020fe5c89bbc7a /llvm/lib
parent93513155e73c8c9d3fb1f4cf1874af7e4d934d53 (diff)
downloadbcm5719-llvm-6d808331ae26713a0e9f77fa32f73faa03de487a.tar.gz
bcm5719-llvm-6d808331ae26713a0e9f77fa32f73faa03de487a.zip
Print out register class of spilled register.
llvm-svn: 117761
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/InlineSpiller.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/InlineSpiller.cpp b/llvm/lib/CodeGen/InlineSpiller.cpp
index 9a4da6c286d..0bae9dfb62f 100644
--- a/llvm/lib/CodeGen/InlineSpiller.cpp
+++ b/llvm/lib/CodeGen/InlineSpiller.cpp
@@ -352,10 +352,12 @@ void InlineSpiller::spill(LiveInterval *li,
void InlineSpiller::spill(LiveRangeEdit &edit) {
edit_ = &edit;
- DEBUG(dbgs() << "Inline spilling " << edit.getParent() << "\n");
+ assert(!edit.getParent().isStackSlot() && "Trying to spill a stack slot.");
+ DEBUG(dbgs() << "Inline spilling "
+ << mri_.getRegClass(edit.getReg())->getName()
+ << ':' << edit.getParent() << "\n");
assert(edit.getParent().isSpillable() &&
"Attempting to spill already spilled value.");
- assert(!edit.getParent().isStackSlot() && "Trying to spill a stack slot.");
if (split())
return;
OpenPOWER on IntegriCloud