aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop.c
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1999-04-08 18:21:29 +0000
committerJeff Law <law@gcc.gnu.org>1999-04-08 12:21:29 -0600
commitd4ca58b3e001758ce57da07cfd636a52c012aa4d (patch)
tree66085a8984e4b16021bd3808c1c7c280822ada60 /gcc/loop.c
parentcfd1324bc6875dc112f3ed39a6c6e206ccf1eadb (diff)
downloadgcc-d4ca58b3e001758ce57da07cfd636a52c012aa4d.zip
gcc-d4ca58b3e001758ce57da07cfd636a52c012aa4d.tar.gz
gcc-d4ca58b3e001758ce57da07cfd636a52c012aa4d.tar.bz2
* loop.c (strength_reduce): Re-enable Joern's loop improvements.
From-SVN: r26299
Diffstat (limited to 'gcc/loop.c')
-rw-r--r--gcc/loop.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/loop.c b/gcc/loop.c
index a626784..55f52bf6 100644
--- a/gcc/loop.c
+++ b/gcc/loop.c
@@ -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. */