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: [PATCH] Perform some kind of special TER for asm input operands that don't allow regs nor memory (PR inline-asm/23200)


On 02/04/2011 05:19 AM, Jakub Jelinek wrote:
> 	PR inline-asm/23200
> 	* tree-ssa-ter.c (is_replaceable_p): Add TER argument.  Don't
> 	do bb, locus and block comparison and disallow loads if it is
> 	not set.
> 	(stmt_is_replaceable_p): New function.
> 	(process_replaceable, find_replaceable_in_bb): Adjust is_replaceable_p
> 	callers.
> 	* expr.c (expand_expr_real_1) <case SSA_NAME>: If
> 	get_gimple_for_ssa_name try for EXPAND_INITIALIZER harder to use
> 	SSA_NAME_DEF_STMT.
> 	* tree-flow.h (stmt_is_replaceable_p): New prototype.
> 
> 	* gcc.dg/pr23200.c: New test.

Ok.


r~


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