Skip to content

Commit

Permalink
[PrologEpilogInserter] Minor refactoring.
Browse files Browse the repository at this point in the history
    
Differential Revision: http://reviews.llvm.org/D12924

llvm-svn: 248084
  • Loading branch information
maksfb committed Sep 19, 2015
1 parent d5556e3 commit 0510cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/CodeGen/PrologEpilogInserter.cpp
Expand Up @@ -516,7 +516,7 @@ AdjustStackOffset(MachineFrameInfo *MFI, int FrameIdx,
MaxAlign = std::max(MaxAlign, Align);

// Adjust to alignment boundary.
Offset = (Offset + Align - 1) / Align * Align;
Offset = RoundUpToAlignment(Offset, Align);

if (StackGrowsDown) {
DEBUG(dbgs() << "alloc FI(" << FrameIdx << ") at SP[" << -Offset << "]\n");
Expand Down

0 comments on commit 0510cd5

Please sign in to comment.