This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r152509 - in /branches/graphite/gcc: ChangeLog....
- From: spop at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 07 Oct 2009 00:59:03 -0000
- Subject: r152509 - in /branches/graphite/gcc: ChangeLog....
Author: spop
Date: Wed Oct 7 00:59:03 2009
New Revision: 152509
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152509
Log:
Handle interchange in distributed swim.
2009-10-06 Sebastian Pop <sebastian.pop@amd.com>
* graphite-dependences.c (reduction_dr_1): New.
(reduction_dr_p): New.
(graphite_legal_transform_dr): Call reduction_dr_p.
(reduction_ddr): Renamed reduction_ddr_p.
* graphite-poly.h (same_pdr_p): New.
(number_of_write_pdrs): New.
* graphite-sese-to-poly.c (nb_data_writes_in_bb): New.
(split_reduction_stmt): Do not split reduction statements
when there are no writes to memory.
(translate_scalar_reduction_to_array_for_stmt): Insert the
memory reduction statement just after the scalar reduction statement.
* gcc.dg/graphite/interchange-10.c: Updated to differ from interchange-4.c.
Un-XFAIL-ed.
* gcc.dg/graphite/interchange-3.c: Un-XFAIL-ed.
* gcc.dg/graphite/interchange-4.c: Un-XFAIL-ed.
Modified:
branches/graphite/gcc/ChangeLog.graphite
branches/graphite/gcc/graphite-dependences.c
branches/graphite/gcc/graphite-poly.h
branches/graphite/gcc/graphite-sese-to-poly.c
branches/graphite/gcc/testsuite/gcc.dg/graphite/interchange-10.c
branches/graphite/gcc/testsuite/gcc.dg/graphite/interchange-3.c
branches/graphite/gcc/testsuite/gcc.dg/graphite/interchange-4.c