+2011-08-03 David Li <davidxl@google.com>
+
+ * tree-optimize.c (execute_fixup_cfg): Fix up entry
+ outgoing edge counts after inlining.
+
2011-08-03 David Li <davidxl@google.com>
* profile.c (compute_branch_probabilities): Compute
EXIT_BLOCK_PTR->count = (EXIT_BLOCK_PTR->count * count_scale
+ REG_BR_PROB_BASE / 2) / REG_BR_PROB_BASE;
+ FOR_EACH_EDGE (e, ei, ENTRY_BLOCK_PTR->succs)
+ e->count = (e->count * count_scale
+ + REG_BR_PROB_BASE / 2) / REG_BR_PROB_BASE;
+
FOR_EACH_BB (bb)
{
bb->count = (bb->count * count_scale