OSDN Git Service

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)
commitaf91a06d0fa3871208d28cc2166d562eb58921cf
tree2fad473918ed36bca350f80b75586059372fc4d8
parent7b59672e3953f1247a277fdb72cf8a11445f5181
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)".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230392 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/PrologEpilogInserter.cpp