summaryrefslogtreecommitdiff
path: root/gcc/loop.c
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 /gcc/loop.c
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
Diffstat (limited to 'gcc/loop.c')
-rw-r--r--gcc/loop.c5
1 files changed, 5 insertions, 0 deletions
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);
}
}
}