r211010 - in /trunk/gcc: ChangeLog lra-assigns....

vries@gcc.gnu.org vries@gcc.gnu.org
Wed May 28 09:43:00 GMT 2014


Author: vries
Date: Wed May 28 09:43:52 2014
New Revision: 211010

URL: http://gcc.gnu.org/viewcvs?rev=211010&root=gcc&view=rev
Log:
-fuse-caller-save - Support in lra

2014-05-28  Tom de Vries  <tom@codesourcery.com>

	* lra-int.h (struct lra_reg): Add field actual_call_used_reg_set.
	* lra.c (initialize_lra_reg_info_element): Add init of
	actual_call_used_reg_set field.
	(lra): Call lra_create_live_ranges before lra_inheritance for
	-fuse-caller-save.
	* lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for
	-fuse-caller-save.
	* lra-constraints.c (need_for_call_save_p): Use actual_call_used_reg_set
	instead of call_used_reg_set for -fuse-caller-save.
	* lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lra-assigns.c
    trunk/gcc/lra-constraints.c
    trunk/gcc/lra-int.h
    trunk/gcc/lra-lives.c
    trunk/gcc/lra.c



More information about the Gcc-cvs mailing list