[AArch64] Add support for TARGET_COMPUTE_FRAME_LAYOUT
authorVlad Lazar <vlad.lazar@arm.com>
Thu, 13 Sep 2018 09:36:58 +0000 (09:36 +0000)
committerVlad Lazar <vladlazar@gcc.gnu.org>
Thu, 13 Sep 2018 09:36:58 +0000 (09:36 +0000)
commit0795f659b09677e0c51832ecaef0680863049424
treefab0627e3c22f529120f6e8a8091e9197c69fb90
parent54de7d7dd08a28f1783ee7c99bf57b5ac93614ef
[AArch64] Add support for TARGET_COMPUTE_FRAME_LAYOUT

The patch adds support for the TARGET_COMPUTE_FRAME_LAYOUT hook on AArch64
and removes unneeded frame layout recalculation.

2018-09-13  Vlad Lazar  <vlad.lazar@arm.com>

* config/aarch64/aarch64.h (TARGET_COMPUTE_FRAME_LAYOUT): Define.
* config/aarch64/aarch64.c (aarch64_expand_prologue): Remove
aarch64_layout_frame call.
(aarch64_expand_epilogue): Likewise.
(aarch64_initial_elimination_offset): Likewise.
(aarch64_get_separate_components): Likewise.
(aarch64_use_return_insn_p): Likewise.
(aarch64_layout_frame): Remove unneeded check.

From-SVN: r264263
gcc/ChangeLog
gcc/config/aarch64/aarch64.c
gcc/config/aarch64/aarch64.h