r193425 - in /trunk/gcc: ChangeLog gcse.c tests...

amker@gcc.gnu.org amker@gcc.gnu.org
Mon Nov 12 02:17:00 GMT 2012


Author: amker
Date: Mon Nov 12 02:17:38 2012
New Revision: 193425

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193425
Log:

	* gcse.c (struct bb_data): Add new fields, old_pressure, live_in
	and backup.
	(get_regno_pressure_class): Add prototype.
	(update_bb_reg_pressure): New.
	(should_hoist_expr_to_dom): Add new parameter from.
	Monitor the change of reg pressure and use it to drive hoisting.
	(hoist_code): Update LIVE and reg pressure information.
	(calculate_bb_reg_pressure): Initialize live_in and backup.

	* gcc.dg/hoist-register-pressure-3.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/hoist-register-pressure-3.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gcse.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list