diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-11 20:24:55 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-11 20:24:55 +0000 |
commit | e819c864dc9bde5d893b5726f8412d2fb6ad59c4 (patch) | |
tree | 7010c6118aa2f96f7bd022dd3523fd147fc12705 /gcc/graphite.c | |
parent | b90bb125e17e05b8dd6811cdd3109d788731730d (diff) | |
download | gcc-e819c864dc9bde5d893b5726f8412d2fb6ad59c4.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163121 138bc75d-0d04-0410-961f-82ee72b054a4
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 c4fd2a3caf4..5b3b6aa7b3f 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) |