This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Remove redundant instructions after regcprop


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]