Michael Kuperstein fd98d3be55 [X86] A heuristic to estimate the size impact for converting stack-relative parameter movs to pushes
This gives a rough estimate of whether using pushes instead of movs is profitable, in terms of size.
We go over all calls in the MachineFunction and compute:
a) For each callsite that can not use pushes, the penalty of not having a reserved call frame.
b) For each callsite that can use pushes, the gain of actually replacing the movs with pushes (and the potential penalty of having to readjust the stack).

Differential Revision: http://reviews.llvm.org/D7561

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228915 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-12 08:36:35 +00:00
..
2013-10-15 23:33:07 +00:00
2015-02-05 23:52:12 +00:00
2015-02-04 00:24:06 +00:00
2015-02-11 15:00:41 +00:00
2015-02-11 15:00:19 +00:00
2015-02-11 14:58:25 +00:00
2015-02-09 17:17:09 +00:00