diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2012-09-07 10:23:06 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2012-09-07 10:23:06 +0000 |
commit | d630245f9d4584bd3ecb2192f8e2ba05e1db77ba (patch) | |
tree | 6bacff29f54b81215a23625852fb1d19f6ee22c7 /gcc/graphite.c | |
parent | 183c7727f2fb0d7b3e8e0673da1436d11e8535cd (diff) | |
download | gcc-d630245f9d4584bd3ecb2192f8e2ba05e1db77ba.zip gcc-d630245f9d4584bd3ecb2192f8e2ba05e1db77ba.tar.gz gcc-d630245f9d4584bd3ecb2192f8e2ba05e1db77ba.tar.bz2 |
bitmap.c (bitmap_last_set_bit): Rewrite to return the correct bit.
* bitmap.c (bitmap_last_set_bit): Rewrite to return the correct bit.
* graphite.c (print_global_statistics): Use EDGE_COUNT instead
of VEC_length.
(print_graphite_scop_statistics): Likewise.
* graphite-scop-detection.c (get_bb_type): Use single_succ_p.
(print_graphite_scop_statistics): Use EDGE_COUNT, not VEC_length.
(canonicalize_loop_closed_ssa): Use single_pred_p.
* alias.c (reg_seen): Make this an sbitmap.
(record_set, init_alias_analysis): Update.
* tree-ssa-coalesce.c (ssa_conflicts_dump): Fix dumping.
From-SVN: r191063
Diffstat (limited to 'gcc/graphite.c')
-rw-r--r-- | gcc/graphite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/graphite.c b/gcc/graphite.c index 04e1da2..0eb1ca1 100644 --- a/gcc/graphite.c +++ b/gcc/graphite.c @@ -97,7 +97,7 @@ print_global_statistics (FILE* file) n_p_loops += bb->count; } - if (VEC_length (edge, bb->succs) > 1) + if (EDGE_COUNT (bb->succs) > 1) { n_conditions++; n_p_conditions += bb->count; @@ -149,7 +149,7 @@ print_graphite_scop_statistics (FILE* file, scop_p scop) n_bbs++; n_p_bbs += bb->count; - if (VEC_length (edge, bb->succs) > 1) + if (EDGE_COUNT (bb->succs) > 1) { n_conditions++; n_p_conditions += bb->count; |