This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Shrink struct basic_block, get rid of NOTE_INSN_DISABLE_SCHED_OF_BLOCK


PLEASE WAIT!!! The function "clear_bb_flags", which gets call from try_optimize_cfg (from cleanup_cfg),
wipes out all the information in the bb->flags field, so unless you modify that function to preserve the
partition flags information this will completely destroy the hot/cold partitioning optimization.


-- Caroline Tice
ctice@apple.com

On Aug 24, 2004, at 2:28 PM, Richard Henderson wrote:

On Tue, Aug 24, 2004 at 09:46:06AM -0700, Zack Weinberg wrote:
+#define BB_SET_PARTITION(bb, part) ((bb)->flags |= (part))

You need to mask out the old partition bits here.



r~




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]