Commit 5310566c by J"orn Rennecke Committed by Joern Rennecke

* loop.c (recombine_givs): Don't try to derive givs that have combined.

From-SVN: r24906
parent 96df87b8
Fri Jan 29 22:34:41 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
* loop.c (recombine_givs): Don't try to derive givs that have combined.
Fri Jan 29 15:00:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> Fri Jan 29 15:00:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* toplev.c (notice, fnotice): Check ANSI_PROTOTYPES, not __STDC__, * toplev.c (notice, fnotice): Check ANSI_PROTOTYPES, not __STDC__,
......
...@@ -7272,16 +7272,13 @@ recombine_givs (bl, loop_start, loop_end, unroll_p) ...@@ -7272,16 +7272,13 @@ recombine_givs (bl, loop_start, loop_end, unroll_p)
rtx sum; rtx sum;
v = giv_array[stats[i].giv_number]; 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; continue;
if (! last_giv) if (! last_giv)
{ {
if (! v->same) last_giv = v;
{ life_start = stats[i].start_luid;
last_giv = v; life_end = stats[i].end_luid;
life_start = stats[i].start_luid;
life_end = stats[i].end_luid;
}
continue; continue;
} }
/* Use unsigned arithmetic to model loop wrap around. */ /* Use unsigned arithmetic to model loop wrap around. */
......
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