* loop.c (strength_reduce): Dump biv increment -> giv conversions.
authorJ"orn Rennecke <amylaar@cygnus.co.uk>
Tue, 16 Feb 1999 16:47:29 +0000 (16:47 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Tue, 16 Feb 1999 16:47:29 +0000 (16:47 +0000)
From-SVN: r25250

gcc/ChangeLog
gcc/loop.c

index d7008df..1b0c8ad 100644 (file)
@@ -1,3 +1,7 @@
+Wed Feb 17 00:43:12 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * loop.c (strength_reduce): Dump biv increment -> giv conversions.
+
 Tue Feb 16 15:31:39 1999  Ovidiu Predescu  <ovidiu@cup.hp.com>
 
        * objc/objc-act.c (encode_type): Encode the type instead of
index 3ea9751..81ed3e1 100644 (file)
@@ -4260,6 +4260,11 @@ strength_reduce (scan_start, end, loop_top, insn_count,
                 This will not prevent the biv from being eliminated.  */
              if (v->lifetime == 0)
                v->ignore = 1;
+
+             if (loop_dump_stream)
+               fprintf (loop_dump_stream,
+                        "Increment %d of biv %d converted to giv %d.\n\n",
+                        INSN_UID (v->insn), old_regno, new_regno);
            }
        }
     }