diff --git a/lib/CodeGen/LocalStackSlotAllocation.cpp b/lib/CodeGen/LocalStackSlotAllocation.cpp
index 962c7c3a15a..f5b79059d0a 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;
           }