[llvm] r300168 - Update the LangRef to reflect reality.

George Burgess IV via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 12 21:01:55 PDT 2017


Author: gbiv
Date: Wed Apr 12 23:01:55 2017
New Revision: 300168

URL: http://llvm.org/viewvc/llvm-project?rev=300168&view=rev
Log:
Update the LangRef to reflect reality.

At the very least, we have CallInst::setIsNoInline() for adding the
noinline attribute to callsites, and I'm told alwaysinline seems to
work.

Thought of adding "not all attributes are guaranteed to work here". If
someone thinks that would be better (or has a better way of phrasing
that, etc.), happy to add it.

Modified:
    llvm/trunk/docs/LangRef.rst

Modified: llvm/trunk/docs/LangRef.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.rst?rev=300168&r1=300167&r2=300168&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.rst (original)
+++ llvm/trunk/docs/LangRef.rst Wed Apr 12 23:01:55 2017
@@ -8873,9 +8873,7 @@ This instruction requires several argume
    be of :ref:`first class <t_firstclass>` type. If the function signature
    indicates the function accepts a variable number of arguments, the
    extra arguments can be specified.
-#. The optional :ref:`function attributes <fnattrs>` list. Only
-   '``noreturn``', '``nounwind``', '``readonly``' , '``readnone``',
-   and '``convergent``' attributes are valid here.
+#. The optional :ref:`function attributes <fnattrs>` list.
 #. The optional :ref:`operand bundles <opbundles>` list.
 
 Semantics:




More information about the llvm-commits mailing list