Move estimateStackSize from ARM into MachineFrameInfo
authorHal Finkel <hfinkel@anl.gov>
Thu, 14 Mar 2013 21:15:20 +0000 (21:15 +0000)
committerHal Finkel <hfinkel@anl.gov>
Thu, 14 Mar 2013 21:15:20 +0000 (21:15 +0000)
commit0cc52c67dbc2e073e3f7f34e05e3e7cd17ba9745
tree19256c7b9f973060bc983cbd6ab0d44cbca29525
parent3080d23fde4981835d8a7faf46c152441fadb11f
Move estimateStackSize from ARM into MachineFrameInfo

This is a generic function (derived from PEI); moving it into
MachineFrameInfo eliminates a current redundancy between the ARM and AArch64
backends, and will allow it to be used by the PowerPC target code.

No functionality change intended.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177111 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineFrameInfo.h
lib/CodeGen/MachineFunction.cpp
lib/Target/AArch64/AArch64FrameLowering.cpp
lib/Target/ARM/ARMFrameLowering.cpp