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

From-SVN: r26299
This commit is contained in:
Jeffrey A Law 1999-04-08 18:21:29 +00:00 committed by Jeff Law
parent cfd1324bc6
commit d4ca58b3e0
2 changed files with 5 additions and 5 deletions

View File

@ -1,3 +1,7 @@
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>
* config/arm/arm.c (arm_print_operand): Undo previous change -

View File

@ -4118,8 +4118,7 @@ strength_reduce (scan_start, end, loop_top, insn_count,
/* If the loop contains volatile memory references do not allow any
replacements to take place, since this could loose the volatile markers. */
/* XXX Temporary. */
if (0 && n_extra_increment && ! loop_has_volatile)
if (n_extra_increment && ! loop_has_volatile)
{
int nregs = first_increment_giv + n_extra_increment;
@ -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
combinations to reduce register pressure.
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,
VARRAY_GROW (reg_iv_info, nregs);
}
recombine_givs (bl, loop_start, loop_end, unroll_p);
#endif
/* Reduce each giv that we decided to reduce. */