From 3c6748574a4d5d3140b1212b95edc38dd2923dcc Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Fri, 20 Feb 1998 13:24:50 +0000 Subject: [PATCH] Remove old code to get arguments in regs into pseudos early. From-SVN: r18148 --- gcc/ChangeLog | 6 ++++++ gcc/sched.c | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f83f87a5680..cf29138f1fb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Fri Feb 20 16:22:13 1998 Michael Meissner + + * 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 * collect2.c (main): Still handle !do_collecting for non-AIX targets. diff --git a/gcc/sched.c b/gcc/sched.c index 2fae2d423d1..3ba20b811a5 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. */