aboutsummaryrefslogtreecommitdiff
path: root/gcc/recog.c
diff options
context:
space:
mode:
authorBob Manson <manson@cygnus.com>1999-08-24 22:35:55 +0000
committerRichard Henderson <rth@gcc.gnu.org>1999-08-24 15:35:55 -0700
commitf2a1bc02679df06d8461df03f48ebaafe5e4307e (patch)
treee86a9635ca292ea67589cef742a73eea422d2d19 /gcc/recog.c
parent952d33b8db3341dd48dc4e73186720f33a8525db (diff)
downloadgcc-f2a1bc02679df06d8461df03f48ebaafe5e4307e.zip
gcc-f2a1bc02679df06d8461df03f48ebaafe5e4307e.tar.gz
gcc-f2a1bc02679df06d8461df03f48ebaafe5e4307e.tar.bz2
haifa-sched.c (split_hard_reg_notes): Move to flow.c
* haifa-sched.c (split_hard_reg_notes): Move to flow.c (new_insn_dead_notes): Likewise. (update_n_sets): Likewise. (update_flow_info): Move to flow.c, renamed to update_life_info; extend to handle multiple source insns. * flow.c: Include resource.h (unlink_insn_chain): New. (split_hard_reg_notes): New. (maybe_add_dead_note): New. (maybe_add_dead_note_use): New. (find_insn_with_note): New. (new_insn_dead_notes): New. (update_n_sets): New. (sets_reg_or_subreg_1, sets_reg_or_subreg): New. (maybe_remove_dead_notes): New. (update_life_info): New. (prepend_reg_notes): New. (replace_insns): New. * output.h (update_life_info): Declare. * recog.c (split_block_insns): Use update_life_info. * resource.c (find_free_register): Use reg_alloc_order, don't use fixed regs, make sure the mode is supported, don't use new regs. (reg_dead_p): New. * rtl.h (replace_insns): Declare. Co-Authored-By: Richard Henderson <rth@cygnus.com> From-SVN: r28828
Diffstat (limited to 'gcc/recog.c')
-rw-r--r--gcc/recog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/recog.c b/gcc/recog.c
index 9e06fb5..f41c3d1 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -2669,7 +2669,7 @@ split_block_insns (b, do_split)
/* try_split returns the NOTE that INSN became. */
first = NEXT_INSN (first);
#ifdef INSN_SCHEDULING
- update_flow_info (notes, first, last, insn);
+ update_life_info (notes, first, last, insn, insn);
#endif
PUT_CODE (insn, NOTE);
NOTE_SOURCE_FILE (insn) = 0;