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: [PR45354] sel-sched: don't make EDGE_CROSSING edges fallthrough


On 11/30/2010 08:31 AM, Alexander Monakov wrote:
Hi,

We should not delete jumps if they cross hot/cold partition boundaries.  The
patch adds the corresponding check in bb_has_removable_jump_to_p (which is
renamed from jump_leads_only_to_bb_p, making the name a bit closer to the
purpose).

Bootstrapped and regtested on ia64-linux, x86_64-linux. OK for trunk?

Yes. Thanks for the patch, Alexander.
2010-11-30 Alexander Monakov<amonakov@ispras.ru>

	PR rtl-optimization/45354
	* sel-sched-ir.c (jump_leads_only_to_bb_p): Rename to ...
	(bb_has_removable_jump_to_p): This.  Update all callers. Make static.
	Allow BBs ending with a conditional jump.  Forbid EDGE_CROSSING jumps.
	* sel-sched-ir.h (jump_leads_only_to_bb_p): Delete prototype.


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