diff options
author | Richard Henderson <rth@cygnus.com> | 1999-01-31 14:05:28 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-01-31 14:05:28 -0800 |
commit | 516e5fa65f01dcc76fdabb03e3033c76f70e2935 (patch) | |
tree | 383c03647177d7c682d7dca5737465a68d12ca57 | |
parent | 71b1d3ca6d63e5f2ace83a420de20bc60ce3a18f (diff) | |
download | gcc-516e5fa65f01dcc76fdabb03e3033c76f70e2935.zip gcc-516e5fa65f01dcc76fdabb03e3033c76f70e2935.tar.gz gcc-516e5fa65f01dcc76fdabb03e3033c76f70e2935.tar.bz2 |
* loop.c (recombine_givs): Dump recombination and derivation data.
From-SVN: r24948
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/loop.c | 18 |
2 files changed, 22 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index da89fc9..28ac1cd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Sun Jan 31 22:04:37 1999 Richard Henderson <rth@cygnus.com> + + * loop.c (recombine_givs): Dump recombination and derivation data. + Sun Jan 31 20:34:29 1999 Zack Weinberg <zack@rabi.columbia.edu> * flags.h: Declare flag_no_ident. @@ -7119,6 +7119,15 @@ recombine_givs (bl, loop_start, loop_end, unroll_p) last_giv->combined_with++; /* No need to update lifetimes / benefits here since we have already decided what to reduce. */ + + if (loop_dump_stream) + { + fprintf (loop_dump_stream, + "giv at %d recombined with giv at %d as ", + INSN_UID (v->insn), INSN_UID (last_giv->insn)); + print_rtl (loop_dump_stream, v->new_reg); + putc ('\n', loop_dump_stream); + } continue; } v = v->same; @@ -7324,6 +7333,15 @@ recombine_givs (bl, loop_start, loop_end, unroll_p) v->derived = 1; v->new_reg = v->dest_reg; life_end = stats[i].end_luid; + + if (loop_dump_stream) + { + fprintf (loop_dump_stream, + "giv at %d derived from %d as ", + INSN_UID (v->insn), INSN_UID (last_giv->insn)); + print_rtl (loop_dump_stream, v->new_reg); + putc ('\n', loop_dump_stream); + } } else if (rescan < 0) rescan = i; |