[llvm] r185049 - Added support for the Builtin attribute.

Michael Gottesman mgottesman at apple.com
Thu Jun 27 15:49:52 PDT 2013


Fixed in r185113.

If this is something we care about, there are a bunch of other attributes that are not in alphabetical order (see nonlazybind/inlinehint).

Just trying to be helpful,
Michael

On Jun 27, 2013, at 3:31 PM, Richard Smith <richard at metafoo.co.uk> wrote:

> On Wed, Jun 26, 2013 at 5:25 PM, Michael Gottesman <mgottesman at apple.com> wrote:
>> Author: mgottesman
>> Date: Wed Jun 26 19:25:01 2013
>> New Revision: 185049
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=185049&view=rev
>> Log:
>> Added support for the Builtin attribute.
>> 
>> The Builtin attribute is an attribute that can be placed on function call site that signal that even though a function is declared as being a builtin,
>> 
>> rdar://problem/13727199
>> 
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.rst?rev=185049&r1=185048&r2=185049&view=diff
>> ==============================================================================
>> --- llvm/trunk/docs/LangRef.rst (original)
>> +++ llvm/trunk/docs/LangRef.rst Wed Jun 26 19:25:01 2013
>> @@ -822,6 +822,12 @@ example:
>>     computing edge weights, basic blocks post-dominated by a cold
>>     function call are also considered to be cold; and, thus, given low
>>     weight.
>> +``builtin``
>> +    This indicates that the callee function at a call site should be
>> +    recognized as a built-in function, even though the function's declaration
>> +    uses the ``nobuiltin'' attribute. This is only valid at call sites for
>> +    direct calls to functions which are declared with the ``nobuiltin``
>> +    attribute.
> 
> This is out of alphabetical order; it should be before the description
> of the ``cold`` attribute.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130627/833c7577/attachment.html>


More information about the llvm-commits mailing list