mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Use precomputed value, if any
llvm-svn: 50164
This commit is contained in:
parent
158f614c67
commit
5e735f1fd2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user