Re: [PATCH 2/2] or1k: Improve If-Conversion by delaying cbranch splits

2025-06-19 Thread Stafford Horne
On Thu, Jun 19, 2025 at 02:14:26PM +0100, Stafford Horne wrote: > When working on PR120587 I found that the ce1 pass was not able to > properly optimize branches on OpenRISC. This is because of the early > splitting of "compare" and "branch" instructions during the expand pass. > > Convert the cb

[PATCH 2/2] or1k: Improve If-Conversion by delaying cbranch splits

2025-06-19 Thread Stafford Horne
When working on PR120587 I found that the ce1 pass was not able to properly optimize branches on OpenRISC. This is because of the early splitting of "compare" and "branch" instructions during the expand pass. Convert the cbranch* instructions from define_expand to define_insn_and_split. This dal