Commit cc291433 by Finn Hakansson Committed by Jeff Law

* loop.c (strength_reduce): Correct a comment.

From-SVN: r25983
parent cf38f48a
...@@ -40,6 +40,8 @@ Thu Mar 25 10:05:56 1999 Richard Henderson <rth@cygnus.com> ...@@ -40,6 +40,8 @@ Thu Mar 25 10:05:56 1999 Richard Henderson <rth@cygnus.com>
Thu Mar 25 02:12:42 1999 Finn Hakansson <finn@axis.com> Thu Mar 25 02:12:42 1999 Finn Hakansson <finn@axis.com>
* loop.c (strength_reduce): Correct a comment.
* rtl.h (MEM_COPY_ATTRIBUTES): Remove unnecessary ending backslash. * rtl.h (MEM_COPY_ATTRIBUTES): Remove unnecessary ending backslash.
Thu Mar 25 02:02:13 1999 Axel Thimm <Axel.Thimm@physik.fu-berlin.de> Thu Mar 25 02:02:13 1999 Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
......
...@@ -4149,10 +4149,10 @@ strength_reduce (scan_start, end, loop_top, insn_count, ...@@ -4149,10 +4149,10 @@ strength_reduce (scan_start, end, loop_top, insn_count,
this can't succeed if we already know that there is a jump this can't succeed if we already know that there is a jump
between v->insn and next->insn, yet next->always_executed is between v->insn and next->insn, yet next->always_executed is
set and next->maybe_multiple is cleared. Such a combination set and next->maybe_multiple is cleared. Such a combination
implies that the jump destination is outseide the loop. implies that the jump destination is outside the loop.
If we want to make this check more sophisticated, we should If we want to make this check more sophisticated, we should
check each branch between v->insn and next->insn individually check each branch between v->insn and next->insn individually
to see if it the biv is dead at its destination. */ to see if the biv is dead at its destination. */
if (uid_luid[REGNO_LAST_UID (bl->regno)] < INSN_LUID (loop_end) if (uid_luid[REGNO_LAST_UID (bl->regno)] < INSN_LUID (loop_end)
&& bl->init_insn && bl->init_insn
......
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