[Bug rtl-optimization/32283] [4.3/4.4 regression] Missed induction variable optimization
rakdver at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Nov 20 08:08:00 GMT 2008
------- Comment #23 from rakdver at gcc dot gnu dot org 2008-11-20 08:06 -------
Subject: Bug 32283
Author: rakdver
Date: Thu Nov 20 08:05:12 2008
New Revision: 142035
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142035
Log:
PR rtl-optimization/32283
* tree-ssa-loop-niter.c (scev_probably_wraps_p): Use type of the base
of the induction variable to decide whether it may wrap.
* tree-ssa-loop-ivopts.c (rewrite_use_compare): Emit the initialization
of the bound before the loop.
* simplify-rtx.c (simplify_binary_operation_1): Add two simplifications
regarding AND.
(simplify_plus_minus): Only fail if no simplification is possible.
* loop-iv.c (simple_rhs_p): Consider reg + reg and reg << cst simple.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/loop-iv.c
trunk/gcc/simplify-rtx.c
trunk/gcc/tree-ssa-loop-ivopts.c
trunk/gcc/tree-ssa-loop-niter.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32283
More information about the Gcc-bugs
mailing list