r192531 - in /branches/lra/gcc: ChangeLog lra-c...

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Wed Oct 17 11:45:00 GMT 2012


Author: rsandifo
Date: Wed Oct 17 11:45:03 2012
New Revision: 192531

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192531
Log:
gcc/
	* lra-int.h (lra_operand_data): Add is_address field.
	* lra.c (debug_operand_data): Initialize is_address field.
	(get_static_insn_data): Likewise.
	(setup_operand_alternative): Record is_address in operand data.
	(lra_set_insn_recog_data): Initialize is_address field.
	* lra-constraints.c (curr_operand_mode): New array.
	(init_curr_operand_mode): New function.
	(find_mode, get_op_mode): Delete.
	(match_reload): Use curr_operand_mode rather than get_op_mode.
	(process_alt_operands): Likewise.  Remove VOIDmode check from
	CONST_OK_POOL_P check.
	(swap_operands): Swap the operand modes too.
	(curr_insn_transform): Use curr_operand_mode rather than get_op_mode.
	Remove VOIDmode check from CONST_OK_POOL_P check.  Use swap_operands
	for the final swap too.
	(lra_constraints): Call init_curr_operand_mode.

Modified:
    branches/lra/gcc/ChangeLog
    branches/lra/gcc/lra-constraints.c
    branches/lra/gcc/lra-int.h
    branches/lra/gcc/lra.c



More information about the Gcc-cvs mailing list