On 12/06/2016 01:25 AM, Richard Biener wrote:
But if the function returns the value from the tail call, then going through
an LHS is the right thing to do. Using the magic "argX will be the return
value" seems clever, but actually hurts in practice.
So we do want the reverse transform (for the case of returning by
reference that's going to be tricky if not impossible due to the
IL hygiene we enforce).
It might be useful, but I'd like to see instrumentation before doing any
significant work on this problem.
jeff