[AArch64] Add support for TARGET_COMPUTE_FRAME_LAYOUT
commitb6438e36f52e68b1f34c7d8df40dffee9ded2747
authorvladlazar <vladlazar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Sep 2018 09:36:58 +0000 (13 09:36 +0000)
committervladlazar <vladlazar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Sep 2018 09:36:58 +0000 (13 09:36 +0000)
treefab0627e3c22f529120f6e8a8091e9197c69fb90
parentf48b66326a8c69ad41fae069b916b196f1086d15
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264263 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/aarch64/aarch64.c
gcc/config/aarch64/aarch64.h