tree-vectorizer.h (vect_create_data_ref_ptr): Add an extra type parameter.
authorRichard Sandiford <richard.sandiford@linaro.org>
Thu, 14 Apr 2011 11:54:43 +0000 (11:54 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 14 Apr 2011 11:54:43 +0000 (11:54 +0000)
commit920e81727482ab7c10dd4cadf78e7ff052644762
tree1835bb35c9f4039a9323ecc485940d41b6c9a22e
parent5ce1ee7fdd558b1bb5f02f84cbc435acf8184c9b
tree-vectorizer.h (vect_create_data_ref_ptr): Add an extra type parameter.

gcc/
* tree-vectorizer.h (vect_create_data_ref_ptr): Add an extra
type parameter.
* tree-vect-data-refs.c (vect_create_data_ref_ptr): Add an aggr_type
parameter.  Generalise code to handle arrays as well as vectors.
(vect_setup_realignment): Update accordingly.
* tree-vect-stmts.c (vectorizable_store): Likewise.
(vectorizable_load): Likewise.

From-SVN: r172423
gcc/ChangeLog
gcc/tree-vect-data-refs.c
gcc/tree-vect-stmts.c
gcc/tree-vectorizer.h