aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meissner <meissner@cygnus.com>1998-02-20 13:24:50 +0000
committerMichael Meissner <meissner@gcc.gnu.org>1998-02-20 13:24:50 +0000
commit3c6748574a4d5d3140b1212b95edc38dd2923dcc (patch)
tree21223068b945b37145686d834c471ddd2f954763
parentb51829099de965adfd553856b5caf4b52fbb4636 (diff)
downloadgcc-3c6748574a4d5d3140b1212b95edc38dd2923dcc.zip
gcc-3c6748574a4d5d3140b1212b95edc38dd2923dcc.tar.gz
gcc-3c6748574a4d5d3140b1212b95edc38dd2923dcc.tar.bz2
Remove old code to get arguments in regs into pseudos early.
From-SVN: r18148
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/sched.c9
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f83f87a..cf29138 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/sched.c b/gcc/sched.c
index 2fae2d4..3ba20b8 100644
--- a/gcc/sched.c
+++ b/gcc/sched.c
@@ -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. */