mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-27 12:01:06 +08:00
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
This commit is contained in:
parent
116bc3a4d8
commit
8f5e543422
@ -1,3 +1,8 @@
|
||||
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++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user