[PATCH] Add a target hook for sibcall epilogues

2023-12-05 Thread Richard Sandiford
Jeff approved this patch last year (thanks!): https://gcc.gnu.org/pipermail/gcc-patches/2022-November/606362.html I ended up not pushing it then because the things that used it didn't go in. Now pushed after retesting on aarch64-linux-gnu. --- Epilogues for sibling calls are generated using the

Re: [PATCH] Add a target hook for sibcall epilogues

2022-11-15 Thread Jeff Law via Gcc-patches
On 11/11/22 09:22, Richard Sandiford via Gcc-patches wrote: Epilogues for sibling calls are generated using the sibcall_epilogue pattern. One disadvantage of this approach is that the target doesn't know which call the epilogue is for, even though the code that generates the pattern has the ca

[PATCH] Add a target hook for sibcall epilogues

2022-11-11 Thread Richard Sandiford via Gcc-patches
Epilogues for sibling calls are generated using the sibcall_epilogue pattern. One disadvantage of this approach is that the target doesn't know which call the epilogue is for, even though the code that generates the pattern has the call to hand. Although call instructions are currently rtxes, and