projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3359429
)
Do not count an RM as R1, too.
author
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Fri, 30 Jul 2010 13:53:17 +0000
(13:53 +0000)
committer
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Fri, 30 Jul 2010 13:53:17 +0000
(13:53 +0000)
[r27856]
optimal.c
patch
|
blob
|
history
diff --git
a/optimal.c
b/optimal.c
index
97deba6
..
7f17182
100644
(file)
--- a/
optimal.c
+++ b/
optimal.c
@@
-425,6
+425,10
@@
static void merge_source_into_target(pbqp *pbqp, pbqp_edge *edge)
/* Reduce the remaining source node via RI. */
apply_RI(pbqp);
+
+#if KAPS_STATISTIC
+ pbqp->num_r1--;
+#endif
}
/**
@@
-583,6
+587,10
@@
static void merge_target_into_source(pbqp *pbqp, pbqp_edge *edge)
/* Reduce the remaining source node via RI. */
apply_RI(pbqp);
+
+#if KAPS_STATISTIC
+ pbqp->num_r1--;
+#endif
}
/**