On Fri, May 31, 2024 at 07:24:48PM +0900, Takayuki 'January June' Suwa wrote:
> No functional changes.
> 
> gcc/ChangeLog:
> 
>       * config/xtensa/xtensa-protos.h (xtensa_expand_call):
>       Add the third argument as boolean.
>       (xtensa_expand_epilogue): Remove the first argument.
>       * config/xtensa/xtensa.cc (xtensa_expand_call):
>       Add the third argument "sibcall_p", and modify in order to prepend
>       "(use A0_REG)" to CALL_INSN_FUNCTION_USAGE if the argument is true.
>       (xtensa_expand_epilogue): Remove the first argument "sibcall_p" and
>       its conditional clause.
>       * config/xtensa/xtensa.md (call, call_value, sibcall, sibcall_value):
>       Append a boolean value to the argument of xtensa_expand_call()
>       indicating whether it is sibling call or not.
>       (epilogue): Remove the boolean argument from xtensa_expand_epilogue(),
>       and then append emitting "(return)".
>       (sibcall_epilogue): Remove the boolean argument from
>       xtensa_expand_epilogue().
> ---
>  gcc/config/xtensa/xtensa-protos.h |  4 ++--
>  gcc/config/xtensa/xtensa.cc       | 16 ++++++++++------
>  gcc/config/xtensa/xtensa.md       | 13 +++++++------
>  3 files changed, 19 insertions(+), 14 deletions(-)

Regtested for target=xtensa-linux-uclibc, no new regressions.
Committed to master.

-- 
Thanks.
-- Max

Reply via email to