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: Optimize calls to functions that return one of their arguments


On 05/03/2012 07:47 PM, Richard Sandiford wrote:
Richard Guenther<richard.guenther@gmail.com> writes:
On Sat, Apr 28, 2012 at 5:31 PM, Bernd Schmidt<bernds@codesourcery.com> wrote:
This patch allows us to recognize that even if the argument to memcpy lives
across the call, we can allocate it to a call-used register by reusing the
return value of the function.

Non-IRA RTL bits look good to me FWIW.

Vlad, any opinions on the IRA bits?



Bernd



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