On 11/11/22 09:19, Richard Sandiford via Gcc-patches wrote:
The prologue/epilogue pass allows the prologue sequence to contain jumps. The sequence is then partitioned into basic blocks using find_many_sub_basic_blocks. This patch treats epilogues in the same way. It's needed for a follow-on aarch64 patch that adds conditional code to both the prologue and the epilogue. Tested on aarch64-linux-gnu (including with a follow-on patch) and x86_64-linux-gnu. OK to install? Richard gcc/ * function.cc (thread_prologue_and_epilogue_insns): Handle epilogues that contain jumps.
OK jeff