diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2009-08-12 14:26:42 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2009-08-12 14:26:42 +0000 |
commit | 66096911fd4c37da10f7ddf3388867acf29451ee (patch) | |
tree | 6dc43a4bb5b95b0c2043a3ae6d3e1a5142f09e5a /gcc/graphite-poly.c | |
parent | 273c5dd38b7aa69f9e8b653399fd0d1203c1d5d9 (diff) | |
download | gcc-66096911fd4c37da10f7ddf3388867acf29451ee.tar.gz |
Undo changes to the PDR representation.
2009-08-11 Sebastian Pop <sebastian.pop@amd.com>
* graphite-interchange.c (compute_array_size): Remove use of
PDR_DATA_CONTAINER.
* graphite-poly.c (new_poly_dr): Remove argument data_container.
Do not initialize PDR_DATA_CONTAINER.
(print_pdr): Do not print PDR_DATA_CONTAINER.
* graphite-poly.h (struct poly_dr): Remove data_container field.
(PDR_DATA_CONTAINER): Removed.
* graphite-sese-to-poly.c (pdr_add_data_dimensions): Remove use of
PDR_DATA_CONTAINER.
(build_poly_dr): Same.
From-SVN: r150689
Diffstat (limited to 'gcc/graphite-poly.c')
-rw-r--r-- | gcc/graphite-poly.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/graphite-poly.c b/gcc/graphite-poly.c index d06da75b811..b7c53e144e8 100644 --- a/gcc/graphite-poly.c +++ b/gcc/graphite-poly.c @@ -269,14 +269,12 @@ apply_poly_transforms (scop_p scop) void new_poly_dr (poly_bb_p pbb, ppl_Pointset_Powerset_C_Polyhedron_t accesses, - ppl_Pointset_Powerset_C_Polyhedron_t data_container, enum POLY_DR_TYPE type, void *cdr) { poly_dr_p pdr = XNEW (struct poly_dr); PDR_PBB (pdr) = pbb; PDR_ACCESSES (pdr) = accesses; - PDR_DATA_CONTAINER (pdr) = data_container; PDR_TYPE (pdr) = type; PDR_CDR (pdr) = cdr; VEC_safe_push (poly_dr_p, heap, PBB_DRS (pbb), pdr); @@ -288,8 +286,6 @@ void free_poly_dr (poly_dr_p pdr) { ppl_delete_Pointset_Powerset_C_Polyhedron (PDR_ACCESSES (pdr)); - ppl_delete_Pointset_Powerset_C_Polyhedron (PDR_DATA_CONTAINER (pdr)); - XDELETE (pdr); } @@ -390,11 +386,6 @@ print_pdr (FILE *file, poly_dr_p pdr) ppl_print_powerset_matrix (file, PDR_ACCESSES (pdr)); fprintf (file, ")\n"); - fprintf (file, "data container (\n"); - print_pdr_access_layout (file, pdr); - ppl_print_powerset_matrix (file, PDR_DATA_CONTAINER (pdr)); - fprintf (file, ")\n"); - fprintf (file, ")\n"); } |