Uniquify struct value's alias set on SPARC

Eric Botcazou ebotcazou@libertysurf.fr
Sun Mar 13 22:12:00 GMT 2005


This patch makes it possible for CSE to propagate into loads of arguments from 
memory, for calls that return a structure, past the insn that sets the struct 
value address, on SPARC 32-bit.

Bootstrapped/regtested on sparc-sun-solaris2.[5678], applied to mainline.


2005-03-14  Eric Botcazou  <ebotcazou@libertysurf.fr>

	* config/sparc/sparc.c (struct_value_alias_set): New global variable.
	(sparc_override_options): Initialize it.
	(sparc_struct_value_rtx): Set it on the MEM to be returned.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: struct_value_alias.diff
Type: text/x-diff
Size: 1754 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050313/4fafe8ed/attachment.bin>


More information about the Gcc-patches mailing list