This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r145352 - in /trunk/gcc: ChangeLog loop-iv.c
- From: bernds at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 31 Mar 2009 15:16:43 -0000
- Subject: r145352 - in /trunk/gcc: ChangeLog loop-iv.c
Author: bernds
Date: Tue Mar 31 15:16:41 2009
New Revision: 145352
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145352
Log:
* loop-iv.c (simplify_using_condition): A condition of the form
(EQ REG CONST) can be used to simply make a substitution.
(simplify_using_initial_values): Keep track of conditions we have seen
and keep using them to simplify new expressions, while applying the
same substitutions to them as to the expression.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/loop-iv.c