diff options
author | Richard Biener <rguenther@suse.de> | 2015-10-14 08:32:25 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2015-10-14 08:32:25 +0000 |
commit | ddf56386c14bc6db5e6d5eb41e58da8253b6102a (patch) | |
tree | 61b148260abf3b7df84bf93f6cb3b0ccc38fe1e9 /gcc/tree-vect-loop.c | |
parent | ac8a1965363534d831c6b784bd69aa18b846402a (diff) | |
download | gcc-ddf56386c14bc6db5e6d5eb41e58da8253b6102a.zip gcc-ddf56386c14bc6db5e6d5eb41e58da8253b6102a.tar.gz gcc-ddf56386c14bc6db5e6d5eb41e58da8253b6102a.tar.bz2 |
tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Reset info at start.
2015-10-14 Richard Biener <rguenther@suse.de>
* tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
Reset info at start.
(vect_analyze_group_access_1): Add debug print.
* tree-vect-loop.c (vect_get_single_scalar_iteration_cost): Rename ...
(vect_compute_single_scalar_iteration_cost): ... to this.
(vect_analyze_loop_2): Adjust.
* tree-vect-slp.c (struct _slp_oprnd_info): Move from ...
* tree-vectorizer.h: ... here.
(add_stmt_info_to_vec): Remove.
* tree-vect-stmts.c (record_stmt_cost): Inline add_stmt_info_to_vec.
From-SVN: r228806
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 6840535..e74fe9a 100644 --- a/gcc/tree-vect-loop.c +++ b/gcc/tree-vect-loop.c @@ -1043,7 +1043,7 @@ destroy_loop_vec_info (loop_vec_info loop_vinfo, bool clean_stmts) /* Calculate the cost of one scalar iteration of the loop. */ static void -vect_get_single_scalar_iteration_cost (loop_vec_info loop_vinfo) +vect_compute_single_scalar_iteration_cost (loop_vec_info loop_vinfo) { struct loop *loop = LOOP_VINFO_LOOP (loop_vinfo); basic_block *bbs = LOOP_VINFO_BBS (loop_vinfo); @@ -1739,7 +1739,7 @@ vect_analyze_loop_2 (loop_vec_info loop_vinfo) } /* Compute the scalar iteration cost. */ - vect_get_single_scalar_iteration_cost (loop_vinfo); + vect_compute_single_scalar_iteration_cost (loop_vinfo); /* This pass will decide on using loop versioning and/or loop peeling in order to enhance the alignment of data references in the loop. */ |