Vladimir Makarov <vmaka...@redhat.com> wrote:
>>      * lra-constraints.c (process_address_1): Try if target can split
>>      displacement with targetm.legitimize_address_displacement.
>>      * target.def (legitimize_address_displacement): New hook.
>>      * targhooks.c (default_legitimize_address_displacement): New function.
>>      * targhooks.h (default_legitimize_address_displacement): Declare.
>>      * config/sh/sh.c (sh_legitimize_address_displacement): New function.
>>      (TARGET_LEGITIMIZE_ADDRESS_DISPLACEMENT): Define.
>>      * doc/tm.texi.in (TARGET_LEGITIMIZE_ADDRESS_DISPLACEMENT): New hook.
>>      * doc/tm.texi: Regenerate.
>>
> 
> It is an interesting solution.
> 
> The patch is ok for me.
> 
> One more thing though.  The patches you propose affect very sensitive
> parts of LRA.  They might break other ports currently using LRA.  If
> it happens, please, revert a breaking patch as I can not be a help
> next 2 weeks.

I'll revert them ASAP if it causes something on trunk.
Thanks for your review!

Regards,
        kaz

Reply via email to