This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Remove redundant instructions after regcprop
- From: Steven Bosscher <stevenb dot gcc at gmail dot com>
- To: "Paulo J. Matos" <paulo at matos-sorge dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 2 Aug 2012 12:25:56 +0200
- Subject: Re: PATCH: Remove redundant instructions after regcprop
- References: <jvdk3m$gt7$1@dough.gmane.org>
On Thu, Aug 2, 2012 at 12:17 PM, Paulo J. Matos <paulo at matos-sorge
dot com> wrote:
> Extended regcprop to check and remove for redundant move instructions
> resulting from the pass.
>
> Paulo.
>
> 2012-08-02 Paulo Matos <Paulo dot Matos at csr dot com>
>
> * regcprop.c (copy_value): remove check for redundant moves.
> * regcprop.c (copy_value): add check for redundant moves,
> remove instructions if redundant.
>
Hello,
Thanks for working on this.
How did you test this? How do you account for mode differences between
the two registers?
Please also fix the patch (and the ChangeLog entry) to conform to the
GCC coding style requirements.
Ciao!
Steven