On 2020-03-02 4:34 a.m., Richard Biener wrote:

One could also simply pessimize R0 for RA via either an existing mechanism
or a new target hook ...


Yes, it could be a good strategy.  I'd recommend to try HONOR_REG_ALLOC_ORDER first with/without LRA.

If it does not work I am ready to accept a reasonable new hook for IRA and/or LRA.  Some GCC targets are to specific and require a special treatment.


Reply via email to