[PATCH] Begin adding docs and IR-level support for the inalloca attribute
rnk at google.com
Wed Nov 13 14:42:53 PST 2013
Adding more people who care.
The LangRef explanation is trying to be really terse. Is there somewhere I
should put a longer form explanation of why I think this representation is
the best? It was also hashed on out llvmdev, and I can restart discussion
there if you like, linking it to this patch with the actual LangRef change.
On Wed, Nov 13, 2013 at 2:40 PM, Reid Kleckner <rnk at google.com> wrote:
> Hi majnemer, rafael.espindola,
> The inalloca attribute is designed to support passing C++ objects by
> value in the Microsoft C++ ABI. It behaves the same as byval, except
> that it always implies that the argument is in memory and that the bytes
> are never copied. This attribute allows the caller to take the address
> of an outgoing argument's memory and execute arbitrary code to store
> into it.
> This patch adds basic IR support, docs, and verification. It does not
> attempt to implement any lowering or fix any possibly broken transforms.
> This will not be submitted until after the 3.4 branch on Nov 18.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits