[AArch64][3/3] Migrate aarch64_expand_prologue/epilogue to aarch64_add_constant
authorJiong Wang <jiong.wang@arm.com>
Mon, 25 Jul 2016 13:42:43 +0000 (13:42 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Mon, 25 Jul 2016 13:42:43 +0000 (13:42 +0000)
commit37d6a4b7799e83ffa638091ae78f7e5e3133263f
treefd8e065488ffc0ddb9e79e8594db38f756a5a4cd
parentc4ddc43acce4417495d3ff3c194edfc2184ecb4f
[AArch64][3/3] Migrate aarch64_expand_prologue/epilogue to aarch64_add_constant

gcc/
* config/aarch64/aarch64.c (aarch64_add_constant): New parameter
"frame_related_p".  Generate CFA annotation when it's necessary.
(aarch64_expand_prologue): Use aarch64_add_constant.
(aarch64_expand_epilogue): Likewise.
(aarch64_output_mi_thunk): Pass "false" when calling
aarch64_add_constant.

From-SVN: r238714
gcc/ChangeLog
gcc/config/aarch64/aarch64.c