Commit 8f5e5434 by Tom de Vries Committed by Tom de Vries

re PR middle-end/45098 (Missed induction variable optimization)

2011-05-18  Tom de Vries  <tom@codesourcery.com>

	PR target/45098
	* tree-ssa-loop-ivopts.c (seq_cost): Fix call to rtx_cost.

From-SVN: r173853
parent 116bc3a4
2011-05-18 Tom de Vries <tom@codesourcery.com>
PR target/45098
* tree-ssa-loop-ivopts.c (seq_cost): Fix call to rtx_cost.
2011-05-18 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/49000
......
......@@ -2745,7 +2745,7 @@ seq_cost (rtx seq, bool speed)
{
set = single_set (seq);
if (set)
cost += rtx_cost (set, SET,speed);
cost += rtx_cost (SET_SRC (set), SET, speed);
else
cost++;
}
......
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