Remove old code to get arguments in regs into pseudos early.
authorMichael Meissner <meissner@cygnus.com>
Fri, 20 Feb 1998 13:24:50 +0000 (13:24 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Fri, 20 Feb 1998 13:24:50 +0000 (13:24 +0000)
From-SVN: r18148

gcc/ChangeLog
gcc/sched.c

index f83f87a..cf29138 100644 (file)
@@ -1,3 +1,9 @@
+Fri Feb 20 16:22:13 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * sched.c (schedule_block): Remove code to get arguments from hard
+       regs into pseudos early.  Same as Aug 25, 1997 change to
+       haifa-sched.c.
+
 1998-02-20  Jason Merrill  <jason@yorick.cygnus.com>
 
        * collect2.c (main): Still handle !do_collecting for non-AIX targets.
index 2fae2d4..3ba20b8 100644 (file)
@@ -2666,6 +2666,14 @@ schedule_block (b, file)
   reg_pending_sets_all = 0;
   clear_units ();
 
+#if 0
+  /* We used to have code to avoid getting parameters moved from hard
+     argument registers into pseudos.
+
+     However, it was removed when it proved to be of marginal benefit and
+     caused problems because of different notions of what the "head" insn
+     was.  */
+
   /* Remove certain insns at the beginning from scheduling,
      by advancing HEAD.  */
 
@@ -2696,6 +2704,7 @@ schedule_block (b, file)
          head = NEXT_INSN (head);
        }
     }
+#endif
 
   /* Don't include any notes or labels at the beginning of the
      basic block, or notes at the ends of basic blocks.  */