]> gcc.gnu.org Git - gcc.git/commit
re PR rtl-optimization/32283 (Missed induction variable optimization)
authorZdenek Dvorak <ook@ucw.cz>
Thu, 20 Nov 2008 08:05:12 +0000 (09:05 +0100)
committerZdenek Dvorak <rakdver@gcc.gnu.org>
Thu, 20 Nov 2008 08:05:12 +0000 (08:05 +0000)
commitdc5b3407f2997631c15eebccd8c9260e186f3e0a
tree049852a66bb3c2b176b99851ac916058e794f7d0
parentf9487002a446cc5f4c777a77afe7c6eaecfec4d0
re PR rtl-optimization/32283 (Missed induction variable optimization)

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.

From-SVN: r142035
gcc/ChangeLog
gcc/loop-iv.c
gcc/simplify-rtx.c
gcc/tree-ssa-loop-ivopts.c
gcc/tree-ssa-loop-niter.c
This page took 0.059192 seconds and 5 git commands to generate.