aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-niter.h
diff options
context:
space:
mode:
authorBin Cheng <amker@gcc.gnu.org>2015-02-13 05:44:46 +0000
committerBin Cheng <amker@gcc.gnu.org>2015-02-13 05:44:46 +0000
commitfc06280eb11be2316b12a51112cb62614141f32d (patch)
tree1306ae46686893d216153301b433362f1e20624d /gcc/tree-ssa-loop-niter.h
parent785f21af82139f512eb12f3318899c9f967409e6 (diff)
downloadgcc-fc06280eb11be2316b12a51112cb62614141f32d.zip
gcc-fc06280eb11be2316b12a51112cb62614141f32d.tar.gz
gcc-fc06280eb11be2316b12a51112cb62614141f32d.tar.bz2
re PR tree-optimization/64705 (Bad code generation of sieve on x86-64 because of too aggressive IV optimizations)
PR tree-optimization/64705 * tree-ssa-loop-niter.h (expand_simple_operations): New parameter. * tree-ssa-loop-niter.c (expand_simple_operations): New parameter. * tree-ssa-loop-ivopts.c (extract_single_var_from_expr): New. (find_bivs, find_givs_in_stmt_scev): Pass new argument to expand_simple_operations. testsuite PR tree-optimization/64705 * gcc.dg/tree-ssa/pr64705.c: New test. From-SVN: r220676
Diffstat (limited to 'gcc/tree-ssa-loop-niter.h')
-rw-r--r--gcc/tree-ssa-loop-niter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-loop-niter.h b/gcc/tree-ssa-loop-niter.h
index 2b0c2d3..7134906 100644
--- a/gcc/tree-ssa-loop-niter.h
+++ b/gcc/tree-ssa-loop-niter.h
@@ -20,7 +20,7 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_TREE_SSA_LOOP_NITER_H
#define GCC_TREE_SSA_LOOP_NITER_H
-extern tree expand_simple_operations (tree);
+extern tree expand_simple_operations (tree, tree = NULL);
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,