]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/loop-iv.c
loop-iv.c (simplify_using_condition): A condition of the form (EQ REG CONST) can...
authorBernd Schmidt <bernd.schmidt@analog.com>
Tue, 31 Mar 2009 15:16:41 +0000 (15:16 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Tue, 31 Mar 2009 15:16:41 +0000 (15:16 +0000)
commit1569e19062140aa281bc0d08d1be4cf8d4a0e7bf
treef70a92f822f9ed585d42284f367304878fc9253d
parented853664c52914caf6b9841bf6abfdb168b1b96e
loop-iv.c (simplify_using_condition): A condition of the form (EQ REG CONST) can be used to simply make a substitution.

* 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.

From-SVN: r145352
gcc/ChangeLog
gcc/loop-iv.c