summaryrefslogtreecommitdiff
path: root/gcc/tree-vect-slp.c
diff options
context:
space:
mode:
authorglisse <glisse@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-03 12:59:46 +0000
committerglisse <glisse@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-03 12:59:46 +0000
commit19bacd5999a02c35f914f28a87a2dc2906b2fe6d (patch)
tree456df88245b81a49798cdc2638114da97409edbb /gcc/tree-vect-slp.c
parent872e3ff8fa4b3cffcaf8f4a6d67e70fc249994c3 (diff)
downloadgcc-19bacd5999a02c35f914f28a87a2dc2906b2fe6d.tar.gz
2013-04-03 Marc Glisse <marc.glisse@inria.fr>
gcc/ * tree-vect-stmts.c (vectorizable_store): Accept BIT_FIELD_REF. (vectorizable_load): Likewise. * tree-vect-slp.c (vect_build_slp_tree): Likewise. * tree-vect-data-refs.c (vect_create_data_ref_ptr): Handle VECTOR_TYPE. gcc/testsuite/ * gcc.dg/vect/bb-slp-31.c: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197410 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vect-slp.c')
-rw-r--r--gcc/tree-vect-slp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-vect-slp.c b/gcc/tree-vect-slp.c
index e925f57a2f5..a9cf6920cf6 100644
--- a/gcc/tree-vect-slp.c
+++ b/gcc/tree-vect-slp.c
@@ -667,6 +667,7 @@ vect_build_slp_tree (loop_vec_info loop_vinfo, bb_vec_info bb_vinfo,
|| rhs_code != IMAGPART_EXPR)
&& !(STMT_VINFO_GROUPED_ACCESS (vinfo_for_stmt (stmt))
&& (first_stmt_code == ARRAY_REF
+ || first_stmt_code == BIT_FIELD_REF
|| first_stmt_code == INDIRECT_REF
|| first_stmt_code == COMPONENT_REF
|| first_stmt_code == MEM_REF)))