[llvm] r185113 - At the request of Richard Smith, swapped the order of cold/builtin so it is in alphabetical order.

Michael Gottesman mgottesman at apple.com
Thu Jun 27 15:48:09 PDT 2013


Author: mgottesman
Date: Thu Jun 27 17:48:08 2013
New Revision: 185113

URL: http://llvm.org/viewvc/llvm-project?rev=185113&view=rev
Log:
At the request of Richard Smith, swapped the order of cold/builtin so it is in alphabetical order.

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=185113&r1=185112&r2=185113&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.rst (original)
+++ llvm/trunk/docs/LangRef.rst Thu Jun 27 17:48:08 2013
@@ -817,17 +817,17 @@ example:
     This attribute indicates that the inliner should attempt to inline
     this function into callers whenever possible, ignoring any active
     inlining size threshold for this caller.
-``cold``
-    This attribute indicates that this function is rarely called. When
-    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.
+``cold``
+    This attribute indicates that this function is rarely called. When
+    computing edge weights, basic blocks post-dominated by a cold
+    function call are also considered to be cold; and, thus, given low
+    weight.
 ``nonlazybind``
     This attribute suppresses lazy symbol binding for the function. This
     may make calls to the function faster, at the cost of extra program





More information about the llvm-commits mailing list