aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-scalar-evolution.h
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2015-11-20 10:25:26 +0000
committerTom de Vries <vries@gcc.gnu.org>2015-11-20 10:25:26 +0000
commitf993a85385e262572a1be89b15976ef47227964f (patch)
tree026be2a2c3f7a62a6ab3e92dc2d14e6ac4010117 /gcc/tree-scalar-evolution.h
parent5b5e7b181fa56b3c2c8aef6cd421bd40852d97e9 (diff)
downloadgcc-f993a85385e262572a1be89b15976ef47227964f.zip
gcc-f993a85385e262572a1be89b15976ef47227964f.tar.gz
gcc-f993a85385e262572a1be89b15976ef47227964f.tar.bz2
Do final value replacement in try_create_reduction_list
2015-11-20 Tom de Vries <tom@codesourcery.com> PR tree-optimization/68373 * tree-scalar-evolution.c (final_value_replacement_loop): Factor out of ... (scev_const_prop): ... here. * tree-scalar-evolution.h (final_value_replacement_loop): Declare. * tree-parloops.c (try_create_reduction_list): Call final_value_replacement_loop. * gcc.dg/autopar/pr68373.c: New test. From-SVN: r230650
Diffstat (limited to 'gcc/tree-scalar-evolution.h')
-rw-r--r--gcc/tree-scalar-evolution.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-scalar-evolution.h b/gcc/tree-scalar-evolution.h
index 6d31280..29c7cd4 100644
--- a/gcc/tree-scalar-evolution.h
+++ b/gcc/tree-scalar-evolution.h
@@ -33,6 +33,7 @@ extern tree analyze_scalar_evolution (struct loop *, tree);
extern tree instantiate_scev (basic_block, struct loop *, tree);
extern tree resolve_mixers (struct loop *, tree, bool *);
extern void gather_stats_on_scev_database (void);
+extern void final_value_replacement_loop (struct loop *);
extern unsigned int scev_const_prop (void);
extern bool expression_expensive_p (tree);
extern bool simple_iv (struct loop *, struct loop *, tree, struct affine_iv *,