[PATCH] Add a note to LangRef about static allocas.

Sean Silva chisophugis at gmail.com
Tue Jul 1 19:48:11 PDT 2014


On Tue, Jul 1, 2014 at 6:41 PM, Matt Arsenault <Matthew.Arsenault at amd.com>
wrote:

> On 07/01/2014 05:31 PM, Reid Kleckner wrote:
>
>> Sounds good to me, go for it.  I'd wordsmith it a bit.  I don't think "is
>> basically free" is important.  The important thing is that the stack
>> adjustment is folded into the function prologue.
>>
> Both of these are very target specific details that don't really have
> anything to do with the IR instruction's semantics
>

I agree that it is target-specific, and that target-specific information
should be avoided in LangRef. However, this is a fairly important
distinction; for example, a frontend author should definitely be aware of
it.

I'll wait for some more opinions.

-- Sean Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140701/a26ae1d2/attachment.html>


More information about the llvm-commits mailing list