At the request of Richard Smith, swapped the order of cold/builtin so it is in alphab...
authorMichael Gottesman <mgottesman@apple.com>
Thu, 27 Jun 2013 22:48:08 +0000 (22:48 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Thu, 27 Jun 2013 22:48:08 +0000 (22:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185113 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LangRef.rst

index b98332b3f6e23c66ab0d4cacaa29f435ea64713f..85276312bb271a6bde1c190d03a3c6224a21db72 100644 (file)
@@ -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