projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c430cb
)
Use precomputed value, if any
author
Anton Korobeynikov
<asl@math.spbu.ru>
Wed, 23 Apr 2008 18:21:50 +0000
(18:21 +0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Wed, 23 Apr 2008 18:21:50 +0000
(18:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50164
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 a59f62eb5099543373c1552f1176749673e3689e..fda08bc29f63911b3b590e631d41ea6740462034 100644
(file)
--- a/
lib/CodeGen/PrologEpilogInserter.cpp
+++ b/
lib/CodeGen/PrologEpilogInserter.cpp
@@
-313,7
+313,7
@@
void PEI::calculateFrameObjectOffsets(MachineFunction &Fn) {
// Loop over all of the stack objects, assigning sequential addresses...
MachineFrameInfo *FFI = Fn.getFrameInfo();
- unsigned MaxAlign =
0
;
+ unsigned MaxAlign =
FFI->getMaxAlignment()
;
// Start at the beginning of the local area.
// The Offset is the distance from the stack top in the direction