summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2015-11-06 23:55:38 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2015-11-06 23:55:38 +0000
commit5cfcce12eb0446db614ae3f213f9c02ed4aa87a3 (patch)
tree1f4b89a02b6964f005f6fbc5e724620c72c3db3a /llvm/docs
parent6e680b2be7e2af65fa054a61133f4930844975a4 (diff)
downloadbcm5719-llvm-5cfcce12eb0446db614ae3f213f9c02ed4aa87a3.tar.gz
bcm5719-llvm-5cfcce12eb0446db614ae3f213f9c02ed4aa87a3.zip
Add 'notail' marker for call instructions.
This marker prevents optimization passes from adding 'tail' or 'musttail' markers to a call. Is is used to prevent tail call optimization from being performed on the call. rdar://problem/22667622 Differential Revision: http://reviews.llvm.org/D12923 llvm-svn: 252368
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/LangRef.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index d2bba5c8a74..d58b7b2e4df 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -8386,7 +8386,7 @@ Syntax:
::
- <result> = [tail | musttail] call [cconv] [ret attrs] <ty> [<fnty>*] <fnptrval>(<function args>) [fn attrs]
+ <result> = [tail | musttail | notail ] call [cconv] [ret attrs] <ty> [<fnty>*] <fnptrval>(<function args>) [fn attrs]
[ operand bundles ]
Overview:
@@ -8439,6 +8439,10 @@ This instruction requires several arguments:
- `Platform-specific constraints are
met. <CodeGenerator.html#tailcallopt>`_
+#. The optional ``notail`` marker indicates that the optimizers should not add
+ ``tail`` or ``musttail`` markers to the call. It is used to prevent tail
+ call optimization from being performed on the call.
+
#. The optional "cconv" marker indicates which :ref:`calling
convention <callingconv>` the call should use. If none is
specified, the call defaults to using C calling conventions. The
OpenPOWER on IntegriCloud