Commit 86147f48 by J"orn Rennecke Committed by Joern Rennecke

* loop.c (combine_givs_used_by_other): Don't depend on n_times_set.

From-SVN: r24351
parent f8670be1
Thu Dec 17 08:27:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* loop.c (combine_givs_used_by_other): Don't depend on n_times_set.
Wed Dec 16 17:30:35 1998 Nick Clifton <nickc@cygnus.com> Wed Dec 16 17:30:35 1998 Nick Clifton <nickc@cygnus.com>
* toplev.c (main): Disable optimize_size if a specific * toplev.c (main): Disable optimize_size if a specific
......
...@@ -6305,15 +6305,11 @@ static int ...@@ -6305,15 +6305,11 @@ static int
combine_givs_used_by_other (g1, g2) combine_givs_used_by_other (g1, g2)
struct induction *g1, *g2; struct induction *g1, *g2;
{ {
/* Lines marked with ??? test a condition that wasn't meant to be tested
and should be deleted. */
if (g1->giv_type == DEST_REG if (g1->giv_type == DEST_REG
&& VARRAY_INT (n_times_set, REGNO (g1->dest_reg)) == 1 /* ??? */
&& reg_mentioned_p (g1->dest_reg, PATTERN (g2->insn))) && reg_mentioned_p (g1->dest_reg, PATTERN (g2->insn)))
return -1; return -1;
if (g2->giv_type == DEST_REG if (g2->giv_type == DEST_REG
&& VARRAY_INT (n_times_set, REGNO (g2->dest_reg)) == 1 /* ??? */
&& reg_mentioned_p (g2->dest_reg, PATTERN (g1->insn))) && reg_mentioned_p (g2->dest_reg, PATTERN (g1->insn)))
return 1; return 1;
......
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