OSDN Git Service

* loop.c (strength_reduce): Re-enable Joern's loop improvements.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Apr 1999 18:21:29 +0000 (18:21 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Apr 1999 18:21:29 +0000 (18:21 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26299 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/loop.c

index 8693fb9..5744e80 100644 (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 -
index a626784..55f52bf 100644 (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.  */