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] PR target/50038 fix: redundant zero extensions removal


Hello Eric,

2011/11/11 Eric Botcazou <ebotcazou@adacore.com>:
>> Great! I'll be back with patch covering all non functional changes.
>> Will it be OK to have everything in one patch (including current
>> functional changes) or I should split it?
>
> Let's also rename the file while we are at it. ?I'd suggest Redundant Extension
> Elimination for the name of the pass, so ree.c for the filename (suggestions
> for a more descriptive name welcome). ?So we rename implicit-zee.c into ree.c
> and add a new header along these lines:
>
> /* Redundant Extension Elimination pass for the GNU compiler.
> ? Copyright (C) 2010-2011 Free Software Foundation, Inc.
> ? Contributed by <you>
>
> ? Based on the Redundant Zero-extension elimination pass contributed by
> ? Sriraman Tallam (tmsriram@google.com) and Silvius Rus (rus@google.com).
>
> ? This file is part of GCC.
> [...]
>
> The general comment must be adjusted: "Problem Description" extended, "How does
> this pass work" adjusted and so on. ?Hardcoded references to zero-extensions
> and specific pair of modes, both in the comment and the function names, must
> be eliminated.
>
> Since implicit-zee.c has essentially no revision history (the original commit +
> a patch of mine to fix rough edges), let's pretend we start from scratch, so
> the ChangeLog will be
>
>
> ? ? ? ?* implicit-zee.c: Delete.
> ? ? ? ?* ree.c: New file.
> [...]
>
> and you post the complete file. ?I'll do the review.
>
> Last but not least, since this is a significant contribution, you need to have
> a copyright assignment on file with the FSF in order for us to accept it.
>
> --
> Eric Botcazou
>

Thanks for tips! I'll do these changes after my two weeks vacation or
my colleges will cover me.

I have already signed copyright agreement with the FSF. Will I need
the separate one for this particular commit?

Thanks
Ilya


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