This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, LRA] Remove REG_DEAD and REG_UNUSED notes.
- From: Vladimir Makarov <vmakarov at redhat dot com>
- To: Yvan Roux <yvan dot roux at linaro dot org>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Patch Tracking <patches at linaro dot org>
- Date: Wed, 25 Sep 2013 10:50:29 -0400
- Subject: Re: [PATCH, LRA] Remove REG_DEAD and REG_UNUSED notes.
- Authentication-results: sourceware.org; auth=none
- References: <CAD57uCdOYQAkj+M3pVncqNpadeBFrxqn=yuRETHJ=Uy_GBoYow at mail dot gmail dot com>
On 09/24/2013 10:40 AM, Yvan Roux wrote:
> Hi,
>
> This patch removes REG_DEAD and REG_UNUSED notes in update_inc_notes,
> as it is what the function is supposed to do (see the comments) and as
> keeping these notes produce some failures, at least on ARM.
>
> Thanks,
> Yvan
>
> 2013-09-24 Yvan Roux <yvan.roux@linaro.org>
>
> * lra.c (update_inc_notes): Remove all REG_DEAD and REG_UNUSED notes.
Ok. Thanks, Yvan.
Another possibility would run one more time LRA live pass at the end of
LRA to update notes correctly but it would be wasting CPU time as the
same will be done by DF-framework at the end of whole RA and the LRA
live pass makes much more than notes.