diff options
author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-03-28 22:39:39 +0000 |
---|---|---|
committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-03-28 22:39:39 +0000 |
commit | 4ebac532623fcc960f4c8fe429f09759d1666a78 (patch) | |
tree | 33a7ffb75c6baff458d7b68f48dc33aae4324994 /gcc/sched.c | |
parent | 21820ce1049e4de238599558db1626f597877e14 (diff) | |
download | gcc-4ebac532623fcc960f4c8fe429f09759d1666a78.tar.gz |
* sched.c (update_flow_info): Handle REG_EXEC_COUNT and REG_BR_PROB
notes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13822 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched.c')
-rw-r--r-- | gcc/sched.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/sched.c b/gcc/sched.c index edd5f656d9c..d7fe1ca250c 100644 --- a/gcc/sched.c +++ b/gcc/sched.c @@ -1,5 +1,5 @@ /* Instruction scheduling pass. - Copyright (C) 1992, 93-95, 1996 Free Software Foundation, Inc. + Copyright (C) 1992, 93-96, 1997 Free Software Foundation, Inc. Contributed by Michael Tiemann (tiemann@cygnus.com) Enhanced by, and currently maintained by, Jim Wilson (wilson@cygnus.com) @@ -4565,6 +4565,12 @@ update_flow_info (notes, first, last, orig_insn) XEXP (note, 0) = first; break; + case REG_EXEC_COUNT: + /* Move a REG_EXEC_COUNT note to the first insn created. */ + XEXP (note, 1) = REG_NOTES (first); + REG_NOTES (first) = note; + break; + case REG_RETVAL: /* Move a REG_RETVAL note to the last insn created, and update the corresponding REG_LIBCALL note. */ @@ -4578,6 +4584,7 @@ update_flow_info (notes, first, last, orig_insn) break; case REG_NONNEG: + case REG_BR_PROB: /* This should be moved to whichever instruction is a JUMP_INSN. */ for (insn = last; ; insn = PREV_INSN (insn)) |