summaryrefslogtreecommitdiff
path: root/libitm
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2020-05-04 13:41:34 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2020-05-14 15:38:24 +0000
commit4036327e4cab5c9a0235bb784b02d5a06a614065 (patch)
tree4b9785dc66667ce1525c1b6f591c93070576d69b /libitm
parentf664bd07f081d08a3c30b95eab01e7ed1329700c (diff)
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 'libitm')
0 files changed, 0 insertions, 0 deletions