diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-25 05:16:42 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-25 05:16:42 +0000 |
commit | 38e3217bcf50d6e4a8ea6880b0042ccac92499cd (patch) | |
tree | a4227bc5f5b978211688fab9aa711eb70f4ec7bc | |
parent | de38f9c0e2cb3b93329d3b77918389c58aacccd1 (diff) | |
download | gcc-38e3217bcf50d6e4a8ea6880b0042ccac92499cd.tar.gz |
2009-10-17 Sebastian Pop <sebastian.pop@amd.com>
* graphite-dependences.c (dependence_polyhedron_1): Remove
unused gdim dimensions from the DDR polyhedron.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154608 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog.graphite | 5 | ||||
-rw-r--r-- | gcc/graphite-dependences.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite index 90e3e0b4cc1..a84404b94c1 100644 --- a/gcc/ChangeLog.graphite +++ b/gcc/ChangeLog.graphite @@ -1,5 +1,10 @@ 2009-10-17 Sebastian Pop <sebastian.pop@amd.com> + * graphite-dependences.c (dependence_polyhedron_1): Remove + unused gdim dimensions from the DDR polyhedron. + +2009-10-17 Sebastian Pop <sebastian.pop@amd.com> + * graphite-dependences.c (pddr_transformed_scattering): New. (dot_original_deps_stmt_1): New. (dot_transformed_deps_stmt_1): New. diff --git a/gcc/graphite-dependences.c b/gcc/graphite-dependences.c index 7c56f578858..b77de084a5b 100644 --- a/gcc/graphite-dependences.c +++ b/gcc/graphite-dependences.c @@ -419,7 +419,7 @@ dependence_polyhedron_1 (poly_bb_p pbb1, poly_bb_p pbb2, graphite_dim_t gdim = scop_nb_params (scop); graphite_dim_t dim1 = pdr_dim (pdr1); graphite_dim_t dim2 = pdr_dim (pdr2); - graphite_dim_t dim = tdim1 + tdim2 + dim1 + dim2; + graphite_dim_t dim = tdim1 + tdim2 + dim1 + dim2 - gdim; ppl_Pointset_Powerset_C_Polyhedron_t res; ppl_Pointset_Powerset_C_Polyhedron_t id1, id2, isc1, isc2, idr1, idr2; ppl_Pointset_Powerset_C_Polyhedron_t sc1, sc2, dreq; |