* tree-vectorizer.h (struct _stmt_vec_info): Add new field
authorirar <irar@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Jan 2007 09:22:56 +0000 (09:22 +0000)
committerirar <irar@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Jan 2007 09:22:56 +0000 (09:22 +0000)
commite51f51369523d5faab32134f260cca822e323ba2
tree05e8577ec4efe6bacd28333f67700b524ca9e2a3
parent72b3fc432141c1b4fe54f39eeb29a59b7123a18e
* tree-vectorizer.h (struct _stmt_vec_info): Add new field
read_write_dep and macros for its access.
* tree-vectorizer.c (new_stmt_vec_info): Initialize the new field.
* tree-vect-analyze.c (vect_analyze_data_ref_dependence): Remove
argument, call vect_check_interleaving for every independent pair of
data-refs. Mark loads that access the same memory location as a store
in the loop.
(vect_check_dependences): Remove.
(vect_analyze_data_ref_dependences): Remove  vect_check_dependences
call, fix the call to vect_analyze_data_ref_dependence.
(vect_analyze_data_ref_access): For statements that access the same
data-ref, check that they are not stores; for loads, check that there
is no store that access the same location.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121026 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-strided-same-dr.c [new file with mode: 0644]
gcc/tree-vect-analyze.c
gcc/tree-vectorizer.c
gcc/tree-vectorizer.h