diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-10-30 01:26:09 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-10-30 01:26:09 +0000 |
commit | 7d57753df3bbad14e3e3ddf396b4edbdc4c55d7d (patch) | |
tree | cfcedfd3637f073fa7c4dd694548e9f186b89595 /lib/CodeGen | |
parent | f74a4298163a7d0b500c7f7a818829c153dc942e (diff) |
Print out register class of spilled register.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117761 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/InlineSpiller.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/CodeGen/InlineSpiller.cpp b/lib/CodeGen/InlineSpiller.cpp index 9a4da6c286..0bae9dfb62 100644 --- a/lib/CodeGen/InlineSpiller.cpp +++ b/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; |