OSDN Git Service

2009-08-28 Sebastian Pop <sebastian.pop@amd.com>
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Aug 2009 20:40:59 +0000 (20:40 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Aug 2009 20:40:59 +0000 (20:40 +0000)
commit11b2102e59b93c1ed672c312d6f40ecc7382d3db
treef4bc77546493208666cd3b4afa7a90ecb6195f6a
parentd0aaf3990d011abe5d7c65905f240a60d2fdccb6
2009-08-28  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-interchange.c (pbb_interchange_profitable_p): Adjust
the strides by multiplying by PDR_NB_REFS.
* graphite-poly.c (can_collapse_pdr): New.
(pdr_find_duplicate): New.
(new_poly_dr): Call pdr_find_duplicate.  Collapse duplicate PDRs.
Initialize PDR_NB_REFS.
* graphite-poly.h (struct poly_dr): Add field nb_refs.
(PDR_NB_REFS): New.
(new_poly_dr): Number of subscripts is a graphite_dim_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151191 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ChangeLog.graphite
gcc/graphite-interchange.c
gcc/graphite-poly.c
gcc/graphite-poly.h