diff options
author | J"orn Rennecke <amylaar@cygnus.co.uk> | 1999-01-29 14:36:59 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 1999-01-29 14:36:59 +0000 |
commit | 5310566c09b16e37a1db3ea358f03e3efef7ee46 (patch) | |
tree | 50de91276a976112728f7e29605355b73357f423 /gcc/loop.c | |
parent | 96df87b8f6828d819eee23414505ec2735074985 (diff) | |
download | gcc-5310566c09b16e37a1db3ea358f03e3efef7ee46.zip gcc-5310566c09b16e37a1db3ea358f03e3efef7ee46.tar.gz gcc-5310566c09b16e37a1db3ea358f03e3efef7ee46.tar.bz2 |
* loop.c (recombine_givs): Don't try to derive givs that have combined.
From-SVN: r24906
Diffstat (limited to 'gcc/loop.c')
-rw-r--r-- | gcc/loop.c | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -7272,16 +7272,13 @@ recombine_givs (bl, loop_start, loop_end, unroll_p) rtx sum; v = giv_array[stats[i].giv_number]; - if (v->giv_type != DEST_REG || v->derived) + if (v->giv_type != DEST_REG || v->derived || v->same) continue; if (! last_giv) { - if (! v->same) - { - last_giv = v; - life_start = stats[i].start_luid; - life_end = stats[i].end_luid; - } + last_giv = v; + life_start = stats[i].start_luid; + life_end = stats[i].end_luid; continue; } /* Use unsigned arithmetic to model loop wrap around. */ |