| commit | 6d986550707568a459e50c581cb79aef9e3072bb | [log] [tgz] |
|---|---|---|
| author | Chad Rosier <mcrosier@codeaurora.org> | Mon Mar 14 18:17:41 2016 +0000 |
| committer | Chad Rosier <mcrosier@codeaurora.org> | Mon Mar 14 18:17:41 2016 +0000 |
| tree | be04bea0592457093d164f0bb84d592f448cecf0 | |
| parent | de89d5f81fb647e9744e4583bb0d77dc6a237b42 [diff] |
[AArch64] Break the dependency between FP and SP when possible. When the SP in not changed because of realignment/VLAs etc., we restore the SP by using the previous value of SP and not the FP. Breaking the dependency will help in cases when the epilog of a callee is close to the epilog of the caller; for then "sub sp, fp, #" depends on the load restoring the FP in the epilog of the callee. http://reviews.llvm.org/D18060 Patch by Aditya Kumar and Evandro Menezes. llvm-svn: 263458