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: Suboptimal code generation if if - conversion


On Wed, Oct 09, 2002 at 12:58:29PM +0200, Hartmut Penner wrote:
> The change is done in 'noce_process_if_block', which is part of ifcvt.c.

No it isn't.  While the IF-THEN-ELSE block is found in ifcvt.c,
no changes are made.  At all.

And, actually, all the badness in this example is fixed by 
correctly declaring F to have a void return type.  When you
do that, the (clobber (reg/i:SI 2 %r2)) is no longer in the
instruction stream, and the cfg cleanup routines take care
of fixing things up as you'd like.



r~


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