projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5642703
)
We not align the final stack slot but instead let the target do so in emitPrologue...
author
Evan Cheng
<evan.cheng@apple.com>
Sat, 20 Jan 2007 02:07:13 +0000
(
02:07
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Sat, 20 Jan 2007 02:07:13 +0000
(
02:07
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33387
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/PrologEpilogInserter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/PrologEpilogInserter.cpp
b/lib/CodeGen/PrologEpilogInserter.cpp
index 51555fa69ebe12a23fdd6f6aa248c6d233287df1..d056da964913617ef3d0146fc12d6dd2e296652a 100644
(file)
--- a/
lib/CodeGen/PrologEpilogInserter.cpp
+++ b/
lib/CodeGen/PrologEpilogInserter.cpp
@@
-387,13
+387,6
@@
void PEI::calculateFrameObjectOffsets(MachineFunction &Fn) {
}
}
-
- // Align the final stack pointer offset, but only if there are calls in the
- // function. This ensures that any calls to subroutines have their stack
- // frames suitable aligned.
- if (FFI->hasCalls())
- Offset = (Offset+StackAlignment-1)/StackAlignment*StackAlignment;
-
// Set the final value of the stack pointer...
FFI->setStackSize(Offset+TFI.getOffsetOfLocalArea());