Commit 55fcb901 by Christian Bruel

tree-ssa-tail-merge.c (replace_block_by): Update bb2 profile count.

2012-11-08  Christian Bruel  <christian.bruel@st.com>

	* tree-ssa-tail-merge.c (replace_block_by): Update bb2 profile count.
	Do not reset dead bb1->frequency.

From-SVN: r193350
parent c24efbca
2012-11-08 Christian Bruel <christian.bruel@st.com>
* tree-ssa-tail-merge.c (replace_block_by): Update bb2 profile count.
Do not reset dead bb1->frequency.
2012-11-08 Steven Bosscher <steven@gcc.gnu.org>
PR tree-optimization/55191
......@@ -50,6 +55,7 @@
* ipa-prop.c (determine_known_aggregate_parts): Skip writes to
different declarations when tracking writes to a declaration.
>>>>>>> .r193349
2012-11-07 David S. Miller <davem@davemloft.net>
* config/sparc/constraints.md ("U"): Document, in detail,
......@@ -1488,7 +1488,8 @@ replace_block_by (basic_block bb1, basic_block bb2)
bb2->frequency += bb1->frequency;
if (bb2->frequency > BB_FREQ_MAX)
bb2->frequency = BB_FREQ_MAX;
bb1->frequency = 0;
bb2->count += bb1->count;
/* Do updates that use bb1, before deleting bb1. */
release_last_vdef (bb1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment