Add an ensureMaxAlignment() function to MachineFrameInfo (analogous to
authorChad Rosier <mcrosier@apple.com>
Tue, 19 Jun 2012 22:59:12 +0000 (22:59 +0000)
committerChad Rosier <mcrosier@apple.com>
Tue, 19 Jun 2012 22:59:12 +0000 (22:59 +0000)
commit2531a6415ff9c082bb1c11c27f1b03aa3e1b97df
tree5e39b2c94cb6b287dd34baf062654026436440b6
parentd693cafcfb9e67ba7040cb810e4409a166421482
Add an ensureMaxAlignment() function to MachineFrameInfo (analogous to
ensureAlignment() in MachineFunction).  Also, drop setMaxAlignment() in
favor of this new function.  This creates a main entry point to setting
MaxAlignment, which will be helpful for future work.  No functionality
change intended.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158758 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineFrameInfo.h
lib/CodeGen/CallingConvLower.cpp
lib/CodeGen/MachineFunction.cpp