OSDN Git Service

* tree-vectorizer.h (struct _stmt_vec_info): Add new field to
authorirar <irar@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Apr 2010 06:39:27 +0000 (06:39 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 04:49:03 +0000 (13:49 +0900)
commitbc9db06469ec731db429f55c83227d260c30482b
tree06a927a5bac0ab9e5c7e5b056d5555ed2fa0a2f4
parentb3d889a555f0de3257a55e1f1ad5e3c540d4fd15
* tree-vectorizer.h (struct _stmt_vec_info): Add new field to
determine if the statement is vectorizable, and a macro to
access it.
* tree-vect-data-refs.c (vect_analyze_data_ref_dependence):
Skip statements that can't be vectorized. If the analysis
fails, mark the statement as unvectorizable if vectorizing
basic block.
(vect_compute_data_refs_alignment): Likewise.
(vect_verify_datarefs_alignment): Skip statements marked as
unvectorizable. Add print.
(vect_analyze_group_access): Skip statements that can't be
vectorized. If the analysis fails, mark the statement as
unvectorizable if vectorizing basic block.
(vect_analyze_data_ref_accesses, vect_analyze_data_refs):
Likewise.
* tree-vect-stmts.c (vectorizable_store): Fix the number of
generated stmts for SLP.
(new_stmt_vec_info): Initialize the new field.
* tree-vect-slp.c (vect_build_slp_tree): Fail to vectorize
statements marked as unvectorizable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158719 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/tree-vect-slp.c
gcc/tree-vect-stmts.c
gcc/tree-vectorizer.h