Commit d4ca58b3 by Jeffrey A Law Committed by Jeff Law

* loop.c (strength_reduce): Re-enable Joern's loop improvements.

From-SVN: r26299
parent cfd1324b
Thu Apr 8 19:20:18 1999 Jeffrey A Law (law@cygnus.com)
* loop.c (strength_reduce): Re-enable Joern's loop improvements.
Thu Apr 8 09:37:40 1999 Nick Clifton <nickc@cygnus.com> Thu Apr 8 09:37:40 1999 Nick Clifton <nickc@cygnus.com>
* config/arm/arm.c (arm_print_operand): Undo previous change - * config/arm/arm.c (arm_print_operand): Undo previous change -
......
...@@ -4118,8 +4118,7 @@ strength_reduce (scan_start, end, loop_top, insn_count, ...@@ -4118,8 +4118,7 @@ strength_reduce (scan_start, end, loop_top, insn_count,
/* If the loop contains volatile memory references do not allow any /* If the loop contains volatile memory references do not allow any
replacements to take place, since this could loose the volatile markers. */ replacements to take place, since this could loose the volatile markers. */
/* XXX Temporary. */ if (n_extra_increment && ! loop_has_volatile)
if (0 && n_extra_increment && ! loop_has_volatile)
{ {
int nregs = first_increment_giv + n_extra_increment; int nregs = first_increment_giv + n_extra_increment;
...@@ -4704,8 +4703,6 @@ strength_reduce (scan_start, end, loop_top, insn_count, ...@@ -4704,8 +4703,6 @@ strength_reduce (scan_start, end, loop_top, insn_count,
} }
} }
#if 0
/* XXX Temporary. */
/* Now that we know which givs will be reduced, try to rearrange the /* Now that we know which givs will be reduced, try to rearrange the
combinations to reduce register pressure. combinations to reduce register pressure.
recombine_givs calls find_life_end, which needs reg_iv_type and recombine_givs calls find_life_end, which needs reg_iv_type and
...@@ -4724,7 +4721,6 @@ strength_reduce (scan_start, end, loop_top, insn_count, ...@@ -4724,7 +4721,6 @@ strength_reduce (scan_start, end, loop_top, insn_count,
VARRAY_GROW (reg_iv_info, nregs); VARRAY_GROW (reg_iv_info, nregs);
} }
recombine_givs (bl, loop_start, loop_end, unroll_p); recombine_givs (bl, loop_start, loop_end, unroll_p);
#endif
/* Reduce each giv that we decided to reduce. */ /* Reduce each giv that we decided to reduce. */
......
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