tree-vectorizer.h (vect_slp_analyze_and_verify_instance_alignment): Declare.
authorRichard Biener <rguenther@suse.de>
Wed, 11 Nov 2015 14:40:36 +0000 (14:40 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 11 Nov 2015 14:40:36 +0000 (14:40 +0000)
commita5b50aa1fb086c90dd0119f8cb9e0a88ea9cce58
tree2e35311f616d252ce5c52cd20fc09da4b3cb5d03
parent4ac93c7cf665ea0dfb2313ccd8216afb9a4a5763
tree-vectorizer.h (vect_slp_analyze_and_verify_instance_alignment): Declare.

2015-11-11  Richard Biener  <rguenther@suse.de>

* tree-vectorizer.h (vect_slp_analyze_and_verify_instance_alignment):
Declare.
(vect_analyze_data_refs_alignment): Make loop vect specific.
(vect_verify_datarefs_alignment): Likewise.
* tree-vect-data-refs.c (vect_slp_analyze_data_ref_dependences):
Add missing continue.
(vect_compute_data_ref_alignment): Export.
(vect_compute_data_refs_alignment): Merge into...
(vect_analyze_data_refs_alignment): ... this.
(verify_data_ref_alignment): Split out from ...
(vect_verify_datarefs_alignment): ... here.
(vect_slp_analyze_and_verify_node_alignment): New function.
(vect_slp_analyze_and_verify_instance_alignment): Likewise.
* tree-vect-slp.c (vect_supported_load_permutation_p): Remove
misplaced checks on alignment.
(vect_slp_analyze_bb_1): Add fatal output parameter.  Do
alignment analysis after SLP discovery and do it per instance.
(vect_slp_bb): When vect_slp_analyze_bb_1 fatally failed do not
bother to re-try using different vector sizes.

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