This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: line insn notes cleanups (haifa-sched and modulo-sched)
- From: Ian Lance Taylor <iant at google dot com>
- To: Tehila Meyzels <TEHILA at il dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 27 Oct 2006 07:25:27 -0700
- Subject: Re: line insn notes cleanups (haifa-sched and modulo-sched)
- References: <OFC441292D.09AB400C-ONC22571CF.00737C5A-C22571CF.0077CE4E@il.ibm.com>
Tehila Meyzels <TEHILA@il.ibm.com> writes:
> 2006-08-20 Tehila Meyzels <tehila@il.ibm.com>
>
> * haifa-sched.c: Remove define LINE_NOTE(INSN).
> Remove line_note_head.
> Update documentation.
> (unlink_line_notes): Remove.
> (associate_line_notes_with_blocks): Remove.
> (extend_bb): Remove basic block argument, put void instead.
> Remove line number handling for each bb.
> (rm_line_notes): Remove.
> (save_line_notes): Remove.
> (restore_line_notes): Remove.
> (rm_redundant_line_notes): Remove.
> (sched_init): Remove line_note_head initialization.
> Change extend_bb call.
> (sched_finish): Remove free of line_note_head.
> (add_block): Change extend_bb call.
> * sched-ebb.c (schedule_ebb): Remove save_line_notes,
> rm_line_notes and restore_line_notes calls.
> (schedule_ebbs): Remove rm_redundant_line_notes.
> * sched-int.h (struct haifa_insn_data): Remove line_note.
> (rm_line_notes): Remove declaraion.
> (save_line_notes): Remove declaraion.
> (restore_line_notes): Remove declaraion.
> (rm_redundant_line_notes): Remove declaraion.
> * modulo-sched.c (find_line_note): Remove.
> (loop_canon_p): Update debug info printing by using insn
> locators instead of line note.
> (sms_schedule): Update debug info printing, by using insn
> locators instead of line note.
> * sched-rgn.c (debug_dependencies): Remove handling of case
> n>0 (line number), since it's a dead code.
This patch is OK now that we are in stage 1.
Thanks.
Ian