diff options
author | vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-11-20 10:25:26 +0000 |
---|---|---|
committer | vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-11-20 10:25:26 +0000 |
commit | 9e75a9b9dd6529e72306542770b19d90321f6030 (patch) | |
tree | 026be2a2c3f7a62a6ab3e92dc2d14e6ac4010117 /gcc/tree-scalar-evolution.h | |
parent | 183ff80ac2fca3f10349799e8ef98a5d5e40683d (diff) | |
download | linaro-gcc-9e75a9b9dd6529e72306542770b19d90321f6030.tar.gz linaro-gcc-9e75a9b9dd6529e72306542770b19d90321f6030.tar.bz2 linaro-gcc-9e75a9b9dd6529e72306542770b19d90321f6030.zip |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230650 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-scalar-evolution.h')
-rw-r--r-- | gcc/tree-scalar-evolution.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-scalar-evolution.h b/gcc/tree-scalar-evolution.h index 6d312806636..29c7cd43189 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 *, |