re PR tree-optimization/72772 (Missed SCEV after pass reordering@236440)
authorBin Cheng <bin.cheng@arm.com>
Tue, 9 Aug 2016 15:01:49 +0000 (15:01 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Tue, 9 Aug 2016 15:01:49 +0000 (15:01 +0000)
commit8aa46dd2d5808a951afee6c6322615225f298d6a
tree6cd5c3604c5e81b7542cdeeee6648cae43c955ff
parentf4fce1837cb18401b714379b7b18ede89b9d4fe5
re PR tree-optimization/72772 (Missed SCEV after pass reordering@236440)

PR tree-optimization/72772
* tree-ssa-loop-niter.h (simplify_using_initial_conditions): Delete
parameter STOP.
* tree-ssa-loop-niter.c (tree_simplify_using_condition_1): Delete
parameter STOP and update calls.  Move expand_simple_operations
function call from here...
(simplify_using_initial_conditions): ...to here.  Delete parameter
STOP.
(tree_simplify_using_condition): Delete parameter STOP.
* tree-scalar-evolution.c (simple_iv_with_niters): Update call to
simplify_using_initial_conditions.

From-SVN: r239290
gcc/ChangeLog
gcc/tree-scalar-evolution.c
gcc/tree-ssa-loop-niter.c
gcc/tree-ssa-loop-niter.h