This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r121026 - in /trunk/gcc: ChangeLog testsuite/Ch...
- From: irar at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sun, 21 Jan 2007 09:22:56 -0000
- Subject: r121026 - in /trunk/gcc: ChangeLog testsuite/Ch...
Author: irar
Date: Sun Jan 21 09:22:56 2007
New Revision: 121026
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121026
Log:
* 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.
Added:
trunk/gcc/testsuite/gcc.dg/vect/vect-strided-same-dr.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vect-analyze.c
trunk/gcc/tree-vectorizer.c
trunk/gcc/tree-vectorizer.h