[llvm] r259367 - [PrologEpilogInserter] Add some debug output for callee-save frame object allocation
Geoff Berry via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 1 08:47:51 PST 2016
Author: gberry
Date: Mon Feb 1 10:47:51 2016
New Revision: 259367
URL: http://llvm.org/viewvc/llvm-project?rev=259367&view=rev
Log:
[PrologEpilogInserter] Add some debug output for callee-save frame object allocation
Reviewers: mcrosier
Subscribers: mcrosier, llvm-commits
Differential Revision: http://reviews.llvm.org/D16733
Modified:
llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp
Modified: llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp?rev=259367&r1=259366&r2=259367&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp (original)
+++ llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp Mon Feb 1 10:47:51 2016
@@ -598,6 +598,7 @@ void PEI::calculateFrameObjectOffsets(Ma
// Adjust to alignment boundary
Offset = alignTo(Offset, Align, Skew);
+ DEBUG(dbgs() << "alloc FI(" << i << ") at SP[" << -Offset << "]\n");
MFI->setObjectOffset(i, -Offset); // Set the computed offset
}
} else {
@@ -607,6 +608,7 @@ void PEI::calculateFrameObjectOffsets(Ma
// Adjust to alignment boundary
Offset = alignTo(Offset, Align, Skew);
+ DEBUG(dbgs() << "alloc FI(" << i << ") at SP[" << Offset << "]\n");
MFI->setObjectOffset(i, Offset);
Offset += MFI->getObjectSize(i);
}
More information about the llvm-commits
mailing list