tree-vectorizer.h (vect_slp_analyze_data_ref_dependences): Rename to vect_slp_analyze...
authorRichard Biener <rguenther@suse.de>
Thu, 12 Nov 2015 14:59:26 +0000 (14:59 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 12 Nov 2015 14:59:26 +0000 (14:59 +0000)
commitc2a12ca06dd0762c03ec8f0f3be3feb096119386
treef3d1556263ab224db98ddf189c9395bd0690deb8
parent50487d7978c5cafd044cf58c5e705175f5a671a9
tree-vectorizer.h (vect_slp_analyze_data_ref_dependences): Rename to vect_slp_analyze_instance_dependence.

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

* tree-vectorizer.h (vect_slp_analyze_data_ref_dependences):
Rename to vect_slp_analyze_instance_dependence.
* tree-vect-data-refs.c (vect_slp_analyze_data_ref_dependence):
Remove WAR special-case.
(vect_slp_analyze_node_dependences): Instead add more specific
code here, not relying on other instances being vectorized.
(vect_slp_analyze_instance_dependence): Adjust accordingly.
* tree-vect-slp.c (vect_build_slp_tree_1): Remove excessive
vertical space in dump files.
(vect_print_slp_tree): Likewise.
(vect_analyze_slp_instance): Dump a header for the final SLP tree.
(vect_slp_analyze_bb_1): Delay computing relevant stmts and
not vectorized stmts until after dependence analysis removed
instances.  Merge alignment and dependence checks.
* tree-vectorizer.c (pass_slp_vectorize::execute): Clear visited
flag on all stmts.

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