Re: [PATCH] reload: Avoid superfluous reloads after find_reloads_subreg_address

2011-03-24 Thread Ulrich Weigand
Andreas Krebbel wrote: > 2011-03-23 Andreas Krebbel > > * reload.c (find_reloads_subreg_address): Add address_reloaded > parameter and return true there if the full address has been > reloaded. > (find_reloads_toplev): Pass address_reloaded flag. > (find_reloads_a

[PATCH] reload: Avoid superfluous reloads after find_reloads_subreg_address

2011-03-23 Thread Andreas Krebbel
Hi, find_reloads_subreg_address has to get rid of (subreg (mem ...)) RTXs. In order to do so the full address sometimes gets reloaded. E.g. if the resulting address is invalid and gets pushed into the literal pool. Unfortunately that information is not propagated into find_reloads. So find_reloa