re PR tree-optimization/56118 (Piecewise vector / complex initialization from constan...
authorRichard Biener <rguenther@suse.de>
Mon, 9 Nov 2015 12:59:17 +0000 (12:59 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 9 Nov 2015 12:59:17 +0000 (12:59 +0000)
commit64900538f13699c0dc3e314ad35d4b172425d964
treef09f60d6696253def20fa390d7a1c4736c462b37
parentcc8ca59eb8522a9530e155f38ac616c15412254b
re PR tree-optimization/56118 (Piecewise vector / complex initialization from constants not combined)

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

PR tree-optimization/56118
* tree-vectorizer.h (vect_find_last_scalar_stmt_in_slp): Declare.
* tree-vect-slp.c (vect_find_last_scalar_stmt_in_slp): Export.
* tree-vect-data-refs.c (vect_slp_analyze_node_dependences): New
function.
(vect_slp_analyze_data_ref_dependences): Instead of computing
all dependences of the region DRs just analyze the code motions
SLP vectorization will perform.  Remove SLP instances that
cannot have their store/load motions applied.
(vect_analyze_data_refs): Allow DRs without a vectype
in BB vectorization.

* gcc.dg/vect/no-tree-sra-bb-slp-pr50730.c: Adjust.

From-SVN: r230020
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/no-tree-sra-bb-slp-pr50730.c
gcc/tree-vect-data-refs.c
gcc/tree-vect-slp.c
gcc/tree-vectorizer.h