diff options
author | Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp> | 2024-05-31 19:24:48 +0900 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2024-05-31 14:41:01 -0700 |
commit | be9b3f4375e74b6f10dd15fc563c93f803e91db5 (patch) | |
tree | d1b653203a3c381a1666b7f4d307828cfa0d5c90 /gcc/c-family/ChangeLog | |
parent | 68cda24d3ac12292a599ff8f9b58fdbc95baba4e (diff) | |
download | gcc-be9b3f4375e74b6f10dd15fc563c93f803e91db5.zip gcc-be9b3f4375e74b6f10dd15fc563c93f803e91db5.tar.gz gcc-be9b3f4375e74b6f10dd15fc563c93f803e91db5.tar.bz2 |
xtensa: Prepend "(use A0_REG)" to sibling call CALL_INSN_FUNCTION_USAGE instead of emitting it as insn at the end of epilogue
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().
Diffstat (limited to 'gcc/c-family/ChangeLog')
0 files changed, 0 insertions, 0 deletions