aboutsummaryrefslogtreecommitdiff
path: root/gcc/modulo-sched.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2004-08-24 16:46:32 +0000
committerZack Weinberg <zack@gcc.gnu.org>2004-08-24 16:46:32 +0000
commit076c7ab896de2d7f85e2b8b5771c599b7d01dea2 (patch)
treea8c706cf283c42d5d4e89608fbc473e943519e99 /gcc/modulo-sched.c
parentae51017be07799ddc5570cb7b8697539743b6763 (diff)
downloadgcc-076c7ab896de2d7f85e2b8b5771c599b7d01dea2.zip
gcc-076c7ab896de2d7f85e2b8b5771c599b7d01dea2.tar.gz
gcc-076c7ab896de2d7f85e2b8b5771c599b7d01dea2.tar.bz2
basic-block.h (struct basic_block_def): Reorder fields to eliminate interior padding.
* basic-block.h (struct basic_block_def): Reorder fields to eliminate interior padding. Remove 'partition' field. (BB_DISABLE_SCHEDULE, BB_HOT_PARTITION, BB_COLD_PARTITION) (BB_UNPARTITIONED, BB_PARTITION, BB_SET_PARTITION) (BB_COPY_PARTITION): New macros. * bb-reorder.c, cfgcleanup.c, cfglayout.c, cfgrtl.c, ifcvt.c Replace all references to the 'partition' field of a basic block with new macros. * insn-notes.def: Delete NOTE_INSN_DISABLE_SCHED_OF_BLOCK. * final.c (final_scan_insn): Don't handle it. * modulo-sched.c: Set BB_DISABLE_SCHEDULE flag on g->bb instead of emitting a NOTE_INSN_DISABLE_SCHED_OF_BLOCK note. * sched-rgn.c (sched_is_disabled_for_current_region_p): Look for a BB_DISABLE_SCHEDULE flag on the block instead of a note. From-SVN: r86495
Diffstat (limited to 'gcc/modulo-sched.c')
-rw-r--r--gcc/modulo-sched.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/modulo-sched.c b/gcc/modulo-sched.c
index 84f3336..c7606d8 100644
--- a/gcc/modulo-sched.c
+++ b/gcc/modulo-sched.c
@@ -1112,8 +1112,7 @@ sms_schedule (FILE *dump_file)
/* Mark this loop as software pipelined so the later
scheduling passes doesn't touch it. */
if (! flag_resched_modulo_sched)
- emit_note_before (NOTE_INSN_DISABLE_SCHED_OF_BLOCK,
- g->closing_branch->insn);
+ g->bb->flags |= BB_DISABLE_SCHEDULE;
generate_reg_moves (ps);
if (dump_file)