[PATCH] D12924: [PrologEpilogInserter] Minor refactoring.
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 18 21:43:41 PDT 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL248084: [PrologEpilogInserter] Minor refactoring. (authored by maks).
Changed prior to commit:
http://reviews.llvm.org/D12924?vs=34963&id=35160#toc
Repository:
rL LLVM
http://reviews.llvm.org/D12924
Files:
llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp
Index: llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp
===================================================================
--- llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp
+++ llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp
@@ -516,7 +516,7 @@
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");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12924.35160.patch
Type: text/x-patch
Size: 531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150919/65b6bed8/attachment.bin>
More information about the llvm-commits
mailing list