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: Request for code review - (ZEE patch : Redundant Zero extension elimination)


On Mon, May 17, 2010 at 2:00 AM, Bernd Schmidt <bernds@codesourcery.com> wrote:
> On 05/12/2010 11:18 PM, Sriraman Tallam wrote:
>>> I know this most likely has been hashed before but why is this pass
>>> have SImode and DImode hardcoded?
>>> Can't you use the modes and then try a wider mode? ?Or does that need
>>> a total rewrite of the pass?
>>
>> Yes, that requires modifying a large portion.
>
> I agree with Andrew. ?Hardcoding the modes the way it's done in this
> pass really isn't up to the standards we should expect from new passes.
> ?Please work on fixing this.

Will do. However, when I wrote this pass I had x86_64 in mind which
does the optimization only for that specific mode.

Since I have already submitted the patch, I will make a new patch for the fix.

>
>
> Bernd
>


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