tree-vect-data-refs.c (vect_analyze_data_ref_dependences): Allocate the data dependen...
authorRichard Biener <rguenther@suse.de>
Tue, 13 Oct 2015 08:39:41 +0000 (08:39 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 13 Oct 2015 08:39:41 +0000 (08:39 +0000)
commitb939ea86b96fcff3f4fe61ad794858ddae553563
tree729ac9ed62a9b2397629cfbe0dfe7004f66eaabf
parent9b054b08813d37586d6765fd087b0fc85dc94daf
tree-vect-data-refs.c (vect_analyze_data_ref_dependences): Allocate the data dependence vector.

2015-10-13  Richard Biener  <rguenther@suse.de>

* tree-vect-data-refs.c (vect_analyze_data_ref_dependences): Allocate
the data dependence vector.
(vect_peeling_hash_insert): Get the peeling hash table as argument.
(vect_peeling_hash_get_lowest_cost): Likewise.
(vect_enhance_data_refs_alignment): Adjust.
(struct _vect_peel_info, struct _vect_peel_extended_info,
struct peel_info_hasher): Move from ...
* tree-vectorizer.h: ... here.
(LOOP_VINFO_COST_MODEL_MIN_ITERS): Remove.
(LOOP_VINFO_PEELING_HTAB): Likewise.
(struct _loop_vec_info): Remove min_profitable_iters and
peeling_htab members.
* tree-vect-loop.c (new_loop_vec_info): Do not allocate vectors
here.
(destroy_loop_vec_info): Adjust.
(vect_analyze_loop_2): Do not set LOOP_VINFO_COST_MODEL_MIN_ITERS.
(vect_estimate_min_profitable_iters): Use LOOP_VINFO_COMP_ALIAS_DDRS
to estimate alias versioning cost.
* tree-vect-slp.c (vect_analyze_slp_cost): Dump header.

From-SVN: r228751
gcc/ChangeLog
gcc/tree-vect-data-refs.c
gcc/tree-vect-loop.c
gcc/tree-vect-slp.c
gcc/tree-vectorizer.h