aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-niter.h
diff options
context:
space:
mode:
authorBin Cheng <bin.cheng@arm.com>2016-08-09 15:01:49 +0000
committerBin Cheng <amker@gcc.gnu.org>2016-08-09 15:01:49 +0000
commit8aa46dd2d5808a951afee6c6322615225f298d6a (patch)
tree6cd5c3604c5e81b7542cdeeee6648cae43c955ff /gcc/tree-ssa-loop-niter.h
parentf4fce1837cb18401b714379b7b18ede89b9d4fe5 (diff)
downloadgcc-8aa46dd2d5808a951afee6c6322615225f298d6a.zip
gcc-8aa46dd2d5808a951afee6c6322615225f298d6a.tar.gz
gcc-8aa46dd2d5808a951afee6c6322615225f298d6a.tar.bz2
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
Diffstat (limited to 'gcc/tree-ssa-loop-niter.h')
-rw-r--r--gcc/tree-ssa-loop-niter.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree-ssa-loop-niter.h b/gcc/tree-ssa-loop-niter.h
index f5e2259..e6eebd9 100644
--- a/gcc/tree-ssa-loop-niter.h
+++ b/gcc/tree-ssa-loop-niter.h
@@ -21,8 +21,7 @@ along with GCC; see the file COPYING3. If not see
#define GCC_TREE_SSA_LOOP_NITER_H
extern tree expand_simple_operations (tree, tree = NULL);
-extern tree simplify_using_initial_conditions (struct loop *,
- tree, tree = NULL);
+extern tree simplify_using_initial_conditions (struct loop *, tree);
extern bool loop_only_exit_p (const struct loop *, const_edge);
extern bool number_of_iterations_exit (struct loop *, edge,
struct tree_niter_desc *niter, bool,