diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2020-05-04 13:41:34 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2020-05-14 15:38:24 +0000 |
commit | 4036327e4cab5c9a0235bb784b02d5a06a614065 (patch) | |
tree | 4b9785dc66667ce1525c1b6f591c93070576d69b /zlib | |
parent | f664bd07f081d08a3c30b95eab01e7ed1329700c (diff) | |
download | gcc-4036327e4cab5c9a0235bb784b02d5a06a614065.zip gcc-4036327e4cab5c9a0235bb784b02d5a06a614065.tar.gz gcc-4036327e4cab5c9a0235bb784b02d5a06a614065.tar.bz2 |
arm: Factorize several occurrences of the same code into reg_needs_saving_p
The same code pattern occurs in several functions, so it seems cleaner
to move it into a dedicated function.
2020-05-14 Christophe Lyon <christophe.lyon@linaro.org>
gcc/
* config/arm/arm.c (reg_needs_saving_p): New function.
(use_return_insn): Use reg_needs_saving_p.
(arm_get_vfp_saved_size): Likewise.
(arm_compute_frame_layout): Likewise.
(arm_save_coproc_regs): Likewise.
(thumb1_expand_epilogue): Likewise.
(arm_expand_epilogue_apcs_frame): Likewise.
(arm_expand_epilogue): Likewise.
Diffstat (limited to 'zlib')
0 files changed, 0 insertions, 0 deletions