[llvm] r185049 - Added support for the Builtin attribute.
Richard Smith
richard at metafoo.co.uk
Thu Jun 27 15:31:44 PDT 2013
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.
More information about the llvm-commits
mailing list