From 7241f8c55c81f6322ba7bec76463c93e2722818e Mon Sep 17 00:00:00 2001 From: Riyadh Baghdadi Date: Thu, 30 Sep 2010 21:16:49 +0000 Subject: [PATCH] Remove spaces from matrix lines. 2010-08-11 Riyadh Baghdadi * graphite-cloog-util.c (openscop_print_cloog_matrix): Remove spaces from matrix lines. * graphite-poly.c (openscop_print_scattering_function_1): Same. (print_scattering_function_1): Same. (openscop_print_pbb_domain): Same. (openscop_print_scop_context): Same. (print_scop_context): Same. From-SVN: r164775 --- gcc/ChangeLog | 10 ++++++++++ gcc/ChangeLog.graphite | 10 ++++++++++ gcc/graphite-cloog-util.c | 6 +++++- gcc/graphite-poly.c | 10 +++++----- 4 files changed, 30 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2a87836d18a..a5c2ff0a6c5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2010-09-30 Riyadh Baghdadi + + * graphite-cloog-util.c (openscop_print_cloog_matrix): Remove spaces + from matrix lines. + * graphite-poly.c (openscop_print_scattering_function_1): Same. + (print_scattering_function_1): Same. + (openscop_print_pbb_domain): Same. + (openscop_print_scop_context): Same. + (print_scop_context): Same. + 2010-09-30 Riyadh Baghdadi * graphite-poly.c (openscop_print_pdr_polyhedron): Fix indentation. diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite index c1c5842aa02..75252e44564 100644 --- a/gcc/ChangeLog.graphite +++ b/gcc/ChangeLog.graphite @@ -1,3 +1,13 @@ +2010-08-11 Riyadh Baghdadi + + * graphite-cloog-util.c (openscop_print_cloog_matrix): Remove spaces + from matrix lines. + * graphite-poly.c (openscop_print_scattering_function_1): Same. + (print_scattering_function_1): Same. + (openscop_print_pbb_domain): Same. + (openscop_print_scop_context): Same. + (print_scop_context): Same. + 2010-08-11 Riyadh Baghdadi * graphite-poly.c (openscop_print_pdr_polyhedron): Fix indentation. diff --git a/gcc/graphite-cloog-util.c b/gcc/graphite-cloog-util.c index 0bb5d742586..949e8d47031 100644 --- a/gcc/graphite-cloog-util.c +++ b/gcc/graphite-cloog-util.c @@ -315,7 +315,11 @@ openscop_print_cloog_matrix (FILE *file, CloogMatrix *mat, for (i = 0; i < cloog_matrix_nrows (mat); i++) { for (j = 0; j < cloog_matrix_ncolumns (mat); j++) - fprintf (file, "%6ld ", mpz_get_si (mat->p[i][j])); + if (j == 0) + fprintf (file, "%ld ", mpz_get_si (mat->p[i][j])); + else + fprintf (file, "%6ld ", mpz_get_si (mat->p[i][j])); + fprintf (file, "\n"); } } diff --git a/gcc/graphite-poly.c b/gcc/graphite-poly.c index 0b1b5d86240..878ef60b2f2 100644 --- a/gcc/graphite-poly.c +++ b/gcc/graphite-poly.c @@ -255,7 +255,7 @@ openscop_print_scattering_function_1 (FILE *file, poly_bb_p pbb, int verbosity) if (verbosity > 0) { fprintf (file, "# scattering bb_%d (\n", pbb_index (pbb)); - fprintf (file, "# eq"); + fprintf (file, "#eq"); for (i = 0; i < pbb_nb_scattering_transform (pbb); i++) fprintf (file, " s%d", (int) i); @@ -301,7 +301,7 @@ print_scattering_function_1 (FILE *file, poly_bb_p pbb, int verbosity) if (verbosity > 0) { fprintf (file, "# scattering bb_%d (\n", pbb_index (pbb)); - fprintf (file, "# eq"); + fprintf (file, "#eq"); for (i = 0; i < pbb_nb_scattering_transform (pbb); i++) fprintf (file, " s%d", (int) i); @@ -731,7 +731,7 @@ openscop_print_pbb_domain (FILE *file, poly_bb_p pbb, int verbosity) if (verbosity > 0) { fprintf (file, "\n# Iteration domain of bb_%d (\n", GBB_BB (gbb)->index); - fprintf (file, "# eq"); + fprintf (file, "#eq"); for (i = 0; i < pbb_dim_iter_domain (pbb); i++) fprintf (file, " i%d", (int) i); @@ -1025,7 +1025,7 @@ openscop_print_scop_context (FILE *file, scop_p scop, int verbosity) if (verbosity > 0) { fprintf (file, "# Context (\n"); - fprintf (file, "# eq"); + fprintf (file, "#eq"); for (i = 0; i < scop_nb_params (scop); i++) fprintf (file, " p%d", (int) i); @@ -1054,7 +1054,7 @@ print_scop_context (FILE *file, scop_p scop, int verbosity) if (verbosity > 0) { fprintf (file, "# Context (\n"); - fprintf (file, "# eq"); + fprintf (file, "#eq"); for (i = 0; i < scop_nb_params (scop); i++) fprintf (file, " p%d", (int) i);