diff options
author | Sebastian Pop <spop@gcc.gnu.org> | 2010-08-11 20:24:55 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2010-08-11 20:24:55 +0000 |
commit | 6a7441f5be2f1ae5c33e060925cb43879df7c05c (patch) | |
tree | 7010c6118aa2f96f7bd022dd3523fd147fc12705 /gcc/graphite.c | |
parent | d4332d00176fc5613d3b64d83a4604fbe3021328 (diff) | |
download | gcc-6a7441f5be2f1ae5c33e060925cb43879df7c05c.zip gcc-6a7441f5be2f1ae5c33e060925cb43879df7c05c.tar.gz gcc-6a7441f5be2f1ae5c33e060925cb43879df7c05c.tar.bz2 |
Add more debug counter guards.
2010-06-23 Sebastian Pop <sebastian.pop@amd.com>
* graphite.c (graphite_transform_loops): Add two more dbg_cnt calls.
From-SVN: r163121
Diffstat (limited to 'gcc/graphite.c')
-rw-r--r-- | gcc/graphite.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/gcc/graphite.c b/gcc/graphite.c index c4fd2a3..5b3b6aa 100644 --- a/gcc/graphite.c +++ b/gcc/graphite.c @@ -55,6 +55,7 @@ along with GCC; see the file COPYING3. If not see #include "gimple.h" #include "sese.h" #include "predict.h" +#include "dbgcnt.h" #ifdef HAVE_cloog @@ -271,18 +272,22 @@ graphite_transform_loops (void) sbitmap_zero (reductions); for (i = 0; VEC_iterate (scop_p, scops, i, scop); i++) - rewrite_commutative_reductions_out_of_ssa (SCOP_REGION (scop), reductions); + if (dbg_cnt (graphite_scop)) + rewrite_commutative_reductions_out_of_ssa (SCOP_REGION (scop), + reductions); for (i = 0; VEC_iterate (scop_p, scops, i, scop); i++) - { - rewrite_reductions_out_of_ssa (scop); - build_scop_bbs (scop, reductions); - } + if (dbg_cnt (graphite_scop)) + { + rewrite_reductions_out_of_ssa (scop); + build_scop_bbs (scop, reductions); + } sbitmap_free (reductions); for (i = 0; VEC_iterate (scop_p, scops, i, scop); i++) - build_poly_scop (scop); + if (dbg_cnt (graphite_scop)) + build_poly_scop (scop); for (i = 0; VEC_iterate (scop_p, scops, i, scop); i++) if (POLY_SCOP_P (scop) |