summaryrefslogtreecommitdiffstats
path: root/gcc/unroll.c
diff options
context:
space:
mode:
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2003-12-01 21:57:07 +0000
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2003-12-01 21:57:07 +0000
commit8a7ca02e29afd4ac1464bd314a4f53e8bad2cbd1 (patch)
tree0ec3098c713be93f771a05ac8b62798832281df7 /gcc/unroll.c
parenta66cff91ecc1857e21bbcc2512c55508cfdd0902 (diff)
downloadppe42-gcc-8a7ca02e29afd4ac1464bd314a4f53e8bad2cbd1.tar.gz
ppe42-gcc-8a7ca02e29afd4ac1464bd314a4f53e8bad2cbd1.zip
* unroll.c (find_splittable_givs): Add missing extend_value_for_giv.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74126 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/unroll.c')
-rw-r--r--gcc/unroll.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/unroll.c b/gcc/unroll.c
index cc415a795b6..518e4a1168e 100644
--- a/gcc/unroll.c
+++ b/gcc/unroll.c
@@ -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;
}
OpenPOWER on IntegriCloud