diff options
author | Michael Kuperstein <michael.m.kuperstein@intel.com> | 2015-02-01 11:44:44 +0000 |
---|---|---|
committer | Michael Kuperstein <michael.m.kuperstein@intel.com> | 2015-02-01 11:44:44 +0000 |
commit | bd57186c763f9c47a6da570f56aceabd830e32a0 (patch) | |
tree | e50de967a38d0d8a6a12df08fd6a6628bd7f7d49 /llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp | |
parent | af3c256ffa7110965cd05dcf49a9f4f70c7f225c (diff) | |
download | bcm5719-llvm-bd57186c763f9c47a6da570f56aceabd830e32a0.tar.gz bcm5719-llvm-bd57186c763f9c47a6da570f56aceabd830e32a0.zip |
[X86] Convert esp-relative movs of function arguments to pushes, step 2
This moves the transformation introduced in r223757 into a separate MI pass.
This allows it to cover many more cases (not only cases where there must be a
reserved call frame), and perform rudimentary call folding. It still doesn't
have a heuristic, so it is enabled only for optsize/minsize, with stack
alignment <= 8, where it ought to be a fairly clear win.
Differential Revision: http://reviews.llvm.org/D6789
llvm-svn: 227728
Diffstat (limited to 'llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp')
0 files changed, 0 insertions, 0 deletions