summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>1999-02-16 16:47:29 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>1999-02-16 16:47:29 +0000
commitac0cd4fb8d1f2689e605c4fb211bc724cda9da52 (patch)
tree3881829a8dcd99aa42e31e76693994ab3ed12f5f
parentfe7bc2ce9cd8e3980e54b8886c7e7617b170eca6 (diff)
downloadgcc-ac0cd4fb8d1f2689e605c4fb211bc724cda9da52.tar.gz
* loop.c (strength_reduce): Dump biv increment -> giv conversions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25250 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/loop.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d7008dfe00d..1b0c8ad45fd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/loop.c b/gcc/loop.c
index 3ea975164f0..81ed3e13e4e 100644
--- a/gcc/loop.c
+++ b/gcc/loop.c
@@ -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);
}
}
}