* unroll.c (find_splittable_givs): Add missing extend_value_for_giv.
From-SVN: r74126
This commit is contained in:
parent
28cb2b1448
commit
1bcec22314
@ -1,3 +1,7 @@
|
||||
2003-12-01 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* unroll.c (find_splittable_givs): Add missing extend_value_for_giv.
|
||||
|
||||
2003-12-01 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
PR optimization/12628
|
||||
|
@ -2797,8 +2797,9 @@ find_splittable_givs (const struct loop *loop, struct iv_class *bl,
|
||||
{
|
||||
rtx tem = gen_reg_rtx (v->mode);
|
||||
record_base_value (REGNO (tem), v->add_val, 0);
|
||||
loop_iv_add_mult_hoist (loop, bl->initial_value, v->mult_val,
|
||||
v->add_val, tem);
|
||||
loop_iv_add_mult_hoist (loop,
|
||||
extend_value_for_giv (v, bl->initial_value),
|
||||
v->mult_val, v->add_val, tem);
|
||||
value = tem;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user