diff options
author | irar <irar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-09-02 06:04:34 +0000 |
---|---|---|
committer | irar <irar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-09-02 06:04:34 +0000 |
commit | d4b2175727d51da2720569dbca3813e06cc7f6c1 (patch) | |
tree | 9c9e5da9865d27af8587c2639c172cccde7e0437 /gcc/tree-vect-loop.c | |
parent | 044b2d736bbe77e4dd7b170ba62e1ee6ea93ee83 (diff) | |
download | gcc-d4b2175727d51da2720569dbca3813e06cc7f6c1.tar.gz |
* tree-vectorizer.h (get_later_stmt): New function.
(vect_analyze_data_ref_dependences): Add argument.
* tree-vect-loop.c (vect_analyze_loop): Update call to
vect_analyze_data_ref_dependences.
* tree-vect-data-refs.c (vect_drs_dependent_in_basic_block):
New function.
(vect_analyze_data_ref_dependence): Add argument for basic block
dependencies. Check dependencies in basic block vectorization.
(vect_analyze_data_ref_dependences): Add argument and update call to
vect_analyze_data_ref_dependences.
* tree-vect-slp.c (vect_find_last_store_in_slp_instance): New.
(vect_bb_vectorizable_with_dependencies): New.
(vect_slp_analyze_bb): Check dependencies in basic block.
(vect_schedule_slp_instance): Insert stores before the last store in
SLP instance.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163757 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vect-loop.c')
-rw-r--r-- | gcc/tree-vect-loop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-vect-loop.c b/gcc/tree-vect-loop.c index 21dca3a4e0d..2ed8c7663ef 100644 --- a/gcc/tree-vect-loop.c +++ b/gcc/tree-vect-loop.c @@ -1378,7 +1378,7 @@ vect_analyze_loop_operations (loop_vec_info loop_vinfo) loop_vec_info vect_analyze_loop (struct loop *loop) { - bool ok; + bool ok, dummy; loop_vec_info loop_vinfo; int max_vf = MAX_VECTORIZATION_FACTOR; int min_vf = 2; @@ -1444,7 +1444,7 @@ vect_analyze_loop (struct loop *loop) the dependences. FORNOW: fail at the first data dependence that we encounter. */ - ok = vect_analyze_data_ref_dependences (loop_vinfo, NULL, &max_vf); + ok = vect_analyze_data_ref_dependences (loop_vinfo, NULL, &max_vf, &dummy); if (!ok || max_vf < min_vf) { |