Re: Fail entire blocks less often in regrename.c

2011-06-16 Thread Richard Henderson
On 06/16/2011 07:39 AM, Bernd Schmidt wrote: > * regrename.c (scan_rtx_reg): Handle the case where we write to an > open chain in a smaller mode without failing the entire block. Ok. r~

Re: Fail entire blocks less often in regrename.c

2011-06-16 Thread Bernd Schmidt
On 06/16/2011 04:39 PM, Bernd Schmidt wrote: > + if (subset) > + head->cannot_rename = 1; I confused myself here by having too many trees, and tested & posted an old version the patch. This (and another instance) needs to read (subset && !superset) since these aren't strict super-/su

Fail entire blocks less often in regrename.c

2011-06-16 Thread Bernd Schmidt
Regrename tends to fall on its face if multiword registers are accessed both in their full width and in subparts. However, there's one case where it's relatively easy to improve the current situation - when tracking a wide register, and it's written to in a narrower mode, we can just close the chai