On 11/15/23 18:39, Tatsuyuki Ishi wrote:


As mentioned in the commit message, the use of relaxation-only labels does not seem well supported in current GCC. Creating a label seems to force a basic block and I’m not sure how we can avoid it.

If there’s a better way to implement this I’m happy to adopt.
In general, yes creating a label in the IL is going to create a new block. But you could emit the label as part of the auipc so that it doesn't really show up in the IL. Then you have to make sure the other insns reference the right label, which is certainly do-able. THere's also linker relaxing to worry about....

jeff

Reply via email to