forked from OSchip/llvm-project
parent
11b05cccfa
commit
52fa6599e8
|
@ -1529,7 +1529,8 @@ eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB,
|
|||
// We need to keep the stack aligned properly. To do this, we round the
|
||||
// amount of space needed for the outgoing arguments up to the next
|
||||
// alignment boundary.
|
||||
unsigned StackAlign = MF.getTarget().getFrameLowering()->getStackAlignment();
|
||||
unsigned StackAlign =
|
||||
MF.getTarget().getFrameLowering()->getStackAlignment();
|
||||
Amount = (Amount + StackAlign - 1) / StackAlign * StackAlign;
|
||||
|
||||
MachineInstr *New = nullptr;
|
||||
|
|
Loading…
Reference in New Issue