projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f195862
)
[PrologEpilogInserter] Add some debug output for callee-save frame object allocation
author
Geoff Berry
<gberry@codeaurora.org>
Mon, 1 Feb 2016 16:47:51 +0000
(16:47 +0000)
committer
Geoff Berry
<gberry@codeaurora.org>
Mon, 1 Feb 2016 16:47:51 +0000
(16:47 +0000)
Reviewers: mcrosier
Subscribers: mcrosier, llvm-commits
Differential Revision: http://reviews.llvm.org/D16733
llvm-svn: 259367
llvm/lib/CodeGen/PrologEpilogInserter.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/PrologEpilogInserter.cpp
b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
index
02b49e0
..
8a4df42
100644
(file)
--- a/
llvm/lib/CodeGen/PrologEpilogInserter.cpp
+++ b/
llvm/lib/CodeGen/PrologEpilogInserter.cpp
@@
-598,6
+598,7
@@
void PEI::calculateFrameObjectOffsets(MachineFunction &Fn) {
// 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(MachineFunction &Fn) {
// 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);
}