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] Miscelaneous ivopts improvements (3 of 3)


On Sun, 2005-01-30 at 19:30 +0100, Zdenek Dvorak wrote:
> Hello,
> 
> the third patch is a fix that prevents us from producing expressions
> like i = (int) ((unsigned) i + 1) if not necessary.  The produced code
> is easier to handle for other optimizers, and there are measurable
> speedups for spec.  Given the simplicity of the patch, this seems
> as a good enough reason for having it in 4.0.
> 
> Bootstrapped & regtested on i686.
> 
> Zdenek
> 
> 	* tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Do not add
> 	unnecessary cast to original induction variable increments.
Approved.  Thanks,
jeff



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