target.def (compute_frame_layout): New optional target hook.
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 8 May 2017 17:44:36 +0000 (17:44 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Mon, 8 May 2017 17:44:36 +0000 (17:44 +0000)
commit29eb9a442b145c3b637e7b41000e51148969c989
tree25451e4bef78a2286c4eb70717dba908095ae3b5
parent9057edd30c40ea77707650699f38734eb949b7d6
target.def (compute_frame_layout): New optional target hook.

2017-05-08  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * target.def (compute_frame_layout): New optional target hook.
        * doc/tm.texi.in (TARGET_COMPUTE_FRAME_LAYOUT): Add hook.
        * doc/tm.texi (TARGET_COMPUTE_FRAME_LAYOUT): Add documentation.
        * lra-eliminations.c (update_reg_eliminate): Call compute_frame_layout
        target hook.
        * reload1.c (verify_initial_elim_offsets): Likewise.
        * config/arm/arm.c (TARGET_COMPUTE_FRAME_LAYOUT): Define.
        (use_simple_return_p): Call arm_compute_frame_layout if needed.
        (arm_get_frame_offsets): Split up into this ...
        (arm_compute_frame_layout): ... and this function.

From-SVN: r247750
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/lra-eliminations.c
gcc/reload1.c
gcc/target.def