]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* loop.c (recombine_givs): Dump recombination and derivation data.
authorRichard Henderson <rth@cygnus.com>
Sun, 31 Jan 1999 22:05:28 +0000 (14:05 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 31 Jan 1999 22:05:28 +0000 (14:05 -0800)
From-SVN: r24948

gcc/ChangeLog
gcc/loop.c

index da89fc9570e49b262de67af4cda5ec3c5abe86ba..28ac1cd4efaedcdb1f03ae81da4eb2a21b8a6566 100644 (file)
@@ -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.
index 7c3204a20ad1edca281d41e1cd9ffefcf0828b6d..4b03d367b46e53becfc46be04e736e4834dd536e 100644 (file)
@@ -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;