summaryrefslogtreecommitdiff
path: root/lib/CodeGen/LocalStackSlotAllocation.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-08-20 19:04:43 +0000
committerJim Grosbach <grosbach@apple.com>2010-08-20 19:04:43 +0000
commitab6bdec837ebd858b5630fe76444afd46f2591e4 (patch)
tree45ef4842456b6ecc9d062f9edea778d1334ccff8 /lib/CodeGen/LocalStackSlotAllocation.cpp
parent192a400003002e2b1c4fb43664b8b63f662b506d (diff)
downloadllvm-ab6bdec837ebd858b5630fe76444afd46f2591e4.tar.gz
llvm-ab6bdec837ebd858b5630fe76444afd46f2591e4.tar.bz2
llvm-ab6bdec837ebd858b5630fe76444afd46f2591e4.tar.xz
Add more dbg output
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111670 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LocalStackSlotAllocation.cpp')
-rw-r--r--lib/CodeGen/LocalStackSlotAllocation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/LocalStackSlotAllocation.cpp b/lib/CodeGen/LocalStackSlotAllocation.cpp
index 962c7c3a15..f5b79059d0 100644
--- a/lib/CodeGen/LocalStackSlotAllocation.cpp
+++ b/lib/CodeGen/LocalStackSlotAllocation.cpp
@@ -282,6 +282,7 @@ bool LocalStackSlotPass::insertFrameReferenceRegisters(MachineFunction &Fn) {
// Modify the instruction to use the new base register rather
// than the frame index operand.
TRI->resolveFrameIndex(I, BaseReg, Offset);
+ DEBUG(dbgs() << "Resolved: " << *MI);
++NumReplacements;
}