Correctly parenthesize pretty print structures.

2009-08-05  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite-poly.c (print_pbb): Add parentheses in the pretty print.
	(print_scop): Same.

From-SVN: r150685
This commit is contained in:
Sebastian Pop 2009-08-12 14:20:22 +00:00 committed by Sebastian Pop
parent 8e88f9fddf
commit e31a5bd4bb
3 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-08-12 Sebastian Pop <sebastian.pop@amd.com>
* graphite-poly.c (print_pbb): Add parentheses in the pretty print.
(print_scop): Same.
2009-08-12 Sebastian Pop <sebastian.pop@amd.com>
* Makefile.in (graphite.o): Depends on PREDICT_H.

View File

@ -1,3 +1,8 @@
2009-08-05 Sebastian Pop <sebastian.pop@amd.com>
* graphite-poly.c (print_pbb): Add parentheses in the pretty print.
(print_scop): Same.
2009-08-05 Sebastian Pop <sebastian.pop@amd.com>
* Makefile.in (graphite.o): Depends on PREDICT_H.

View File

@ -547,11 +547,13 @@ debug_pdrs (poly_bb_p pbb)
void
print_pbb (FILE *file, poly_bb_p pbb)
{
fprintf (file, "pbb (\n");
dump_gbb_conditions (file, PBB_BLACK_BOX (pbb));
dump_gbb_cases (file, PBB_BLACK_BOX (pbb));
print_pdrs (file, pbb);
print_pbb_domain (file, pbb);
print_scattering_function (file, pbb);
fprintf (file, ")\n");
}
/* Print to FILE the parameters of SCOP. */
@ -600,11 +602,14 @@ print_scop (FILE *file, scop_p scop)
int i;
poly_bb_p pbb;
fprintf (file, "scop (\n");
print_scop_params (file, scop);
print_scop_context (file, scop);
for (i = 0; VEC_iterate (poly_bb_p, SCOP_BBS (scop), i, pbb); i++)
print_pbb (file, pbb);
fprintf (file, ")\n");
}
/* Print to STDERR the domain of PBB. */