mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-19 10:53:55 +00:00
Use precomputed value, if any
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50164 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2c430cbf03
commit
aadc780a56
@ -313,7 +313,7 @@ void PEI::calculateFrameObjectOffsets(MachineFunction &Fn) {
|
|||||||
// Loop over all of the stack objects, assigning sequential addresses...
|
// Loop over all of the stack objects, assigning sequential addresses...
|
||||||
MachineFrameInfo *FFI = Fn.getFrameInfo();
|
MachineFrameInfo *FFI = Fn.getFrameInfo();
|
||||||
|
|
||||||
unsigned MaxAlign = 0;
|
unsigned MaxAlign = FFI->getMaxAlignment();
|
||||||
|
|
||||||
// Start at the beginning of the local area.
|
// Start at the beginning of the local area.
|
||||||
// The Offset is the distance from the stack top in the direction
|
// The Offset is the distance from the stack top in the direction
|
||||||
|
Loading…
x
Reference in New Issue
Block a user