summaryrefslogtreecommitdiff
path: root/gcc/graphite.c
diff options
context:
space:
mode:
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-07 10:23:06 +0000
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-07 10:23:06 +0000
commit7bf606441c240250474b45d77c3a122e178349a0 (patch)
tree6bacff29f54b81215a23625852fb1d19f6ee22c7 /gcc/graphite.c
parentdcbd396d210e2939c0a0d35f7598e01f9498e69f (diff)
downloadgcc-7bf606441c240250474b45d77c3a122e178349a0.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191063 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite.c')
-rw-r--r--gcc/graphite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/graphite.c b/gcc/graphite.c
index 04e1da29118..0eb1ca191d5 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;