diff options
author | Jeffrey A Law <law@cygnus.com> | 1999-04-08 18:21:29 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-04-08 12:21:29 -0600 |
commit | d4ca58b3e001758ce57da07cfd636a52c012aa4d (patch) | |
tree | 66085a8984e4b16021bd3808c1c7c280822ada60 /gcc/loop.c | |
parent | cfd1324bc6875dc112f3ed39a6c6e206ccf1eadb (diff) | |
download | gcc-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.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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. */ |