summaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2014-06-23 14:15:53 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2014-06-23 14:15:53 +0000
commitb548b6bfc35b6c5b495c2bb8ae983d21c6c325cb (patch)
tree4243b539c023559557db56dfc0e7ada9bcd22d7f /lib/CodeGen
parent9a154bfe94213ad7a34025d4e7f54d1f64368a32 (diff)
downloadllvm-b548b6bfc35b6c5b495c2bb8ae983d21c6c325cb.tar.gz
llvm-b548b6bfc35b6c5b495c2bb8ae983d21c6c325cb.tar.bz2
llvm-b548b6bfc35b6c5b495c2bb8ae983d21c6c325cb.tar.xz
[PowerPC] Refactor getMinCallFrameSize / getMinCallArgumentsSize
As of r211495, the only remaining users of getMinCallFrameSize are in core ABI code (LowerFormalParameter / LowerCall). This is actually a good thing, since the details of the parameter save area are ABI specific. With the new ELFv2 ABI in particular, the rules defining the size of the save area will become significantly more complex, so it wouldn't make sense to implement those outside ABI code that has all required information. In preparation, this patch eliminates the getMinCallFrameSize (and associated getMinCallArgumentsSize) routines, and inlines them into all callers. Note that since nearly all call arguments are constant, this allows simplifying the inlined copies to a single line everywhere. No change in generate code expected. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211497 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
0 files changed, 0 insertions, 0 deletions