sched.c (sched_analyze_insn): Add new parameter loop_note.
authorJim Wilson <wilson@gcc.gnu.org>
Sat, 20 Aug 1994 17:31:16 +0000 (10:31 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Sat, 20 Aug 1994 17:31:16 +0000 (10:31 -0700)
commit208dc1d8f12bb98e05359a56dde0a3c7f05a1cf3
tree9f55e7470ea62cf3c5dd18e903c666cdfad9da06
parentc4a9dd2e3a0bbe4b95a118cebb1c3063a74108f4
sched.c (sched_analyze_insn): Add new parameter loop_note.

* sched.c (sched_analyze_insn): Add new parameter loop_note.
If loop_note set, then serialize on this insn.
(sched_analyze): New variable loop_note.  Pass to
sched_analyze_insn.  Set it if we pass a NOTE_INSN_LOOP_BEG or
NOTE_INSN_LOOP_END.
(unlink_notes): Don't save away NOTE_INSN_LOOP_BEG or
NOTE_INSN_LOOP_END notes.
(schedule_block): Generalize code that looks for magic REG_DEAD
notes and converts them to notes.

From-SVN: r7956
gcc/sched.c