PrologEpilogInserter: Clean up math in calculateFrameObjectOffsets
authorDavid Majnemer <david.majnemer@gmail.com>
Tue, 24 Feb 2015 23:08:13 +0000 (23:08 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Tue, 24 Feb 2015 23:08:13 +0000 (23:08 +0000)
commit841e0d60ed7f0eb3493b21fbf8cb70993605391c
treee731ee2023ebfd6bbaa4d38d6d6f47c7e9843ff4
parentcee38616c8c951ea879cd163f53c1c8c83629261
PrologEpilogInserter: Clean up math in calculateFrameObjectOffsets

There is no need to open-code the alignment calculation, we have a
handy RoundUpToAlignment function which "Does The Right Thing (TM)".

llvm-svn: 230392
llvm/lib/CodeGen/PrologEpilogInserter.cpp