aboutsummaryrefslogtreecommitdiff
path: root/gcc/modulo-sched.c
diff options
context:
space:
mode:
authorTehila Meyzels <tehila@il.ibm.com>2006-11-29 18:24:14 +0000
committerDorit Nuzman <dorit@gcc.gnu.org>2006-11-29 18:24:14 +0000
commit07c02828326880b3df56dd0dfbf00847688351c3 (patch)
treeda4032793fa855993d2d1d0ddb8fafbcd3e51adc /gcc/modulo-sched.c
parent14502dad061deb34939adf92cb5ea35a06f1da34 (diff)
downloadgcc-07c02828326880b3df56dd0dfbf00847688351c3.zip
gcc-07c02828326880b3df56dd0dfbf00847688351c3.tar.gz
gcc-07c02828326880b3df56dd0dfbf00847688351c3.tar.bz2
haifa-sched.c: Remove define LINE_NOTE(INSN).
2006-11-29 Tehila Meyzels <tehila@il.ibm.com> * haifa-sched.c: Remove define LINE_NOTE(INSN). Remove line_note_head. Update documentation. (associate_line_notes_with_blocks): Kill. (extend_bb): Remove basic block argument, put void instead. Remove line number handling for each bb. (save_line_notes): Kill. (restore_line_notes): Kill. (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. (save_line_notes): Remove declaration. (restore_line_notes): Remove declaration. * modulo-sched.c (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. (schedule_region): Remove save_line_notes and restore_line_notes calls. From-SVN: r119328
Diffstat (limited to 'gcc/modulo-sched.c')
-rw-r--r--gcc/modulo-sched.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/modulo-sched.c b/gcc/modulo-sched.c
index 83a07ea..4160e998 100644
--- a/gcc/modulo-sched.c
+++ b/gcc/modulo-sched.c
@@ -818,7 +818,11 @@ loop_canon_p (struct loop *loop)
{
if (dump_file)
{
+ rtx insn = BB_END (loop->header);
+
fprintf (dump_file, "SMS loop many exits ");
+ fprintf (dump_file, " %s %d (file, line)\n",
+ insn_file (insn), insn_line (insn));
}
return false;
}
@@ -827,7 +831,11 @@ loop_canon_p (struct loop *loop)
{
if (dump_file)
{
+ rtx insn = BB_END (loop->header);
+
fprintf (dump_file, "SMS loop many BBs. ");
+ fprintf (dump_file, " %s %d (file, line)\n",
+ insn_file (insn), insn_line (insn));
}
return false;
}
@@ -954,6 +962,8 @@ sms_schedule (void)
{
if (dump_file)
{
+ fprintf (dump_file, " %s %d (file, line)\n",
+ insn_file (tail), insn_line (tail));
fprintf (dump_file, "SMS single-bb-loop\n");
if (profile_info && flag_branch_probabilities)
{
@@ -1043,6 +1053,8 @@ sms_schedule (void)
if (dump_file)
{
+ fprintf (dump_file, " %s %d (file, line)\n",
+ insn_file (tail), insn_line (tail));
fprintf (dump_file, "SMS single-bb-loop\n");
if (profile_info && flag_branch_probabilities)
{