summaryrefslogtreecommitdiffstats
path: root/llvm/docs/LangRef.rst
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2016-03-24 20:23:29 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2016-03-24 20:23:29 +0000
commitdf9ae70f49a506cddf6bbfdb472b0913567d8010 (patch)
treed983645250970043594e7fbe9720e07753e95515 /llvm/docs/LangRef.rst
parentc9d4caa32c02c8bfa29c1e5af610c28f7592df5b (diff)
downloadbcm5719-llvm-df9ae70f49a506cddf6bbfdb472b0913567d8010.tar.gz
bcm5719-llvm-df9ae70f49a506cddf6bbfdb472b0913567d8010.zip
Add lowering support for llvm.experimental.deoptimize
Summary: Only adds support for "naked" calls to llvm.experimental.deoptimize. Support for round-tripping through RewriteStatepointsForGC will come as a separate patch (should be simpler than this one). Reviewers: reames Subscribers: sanjoy, mcrosier, llvm-commits Differential Revision: http://reviews.llvm.org/D18429 llvm-svn: 264329
Diffstat (limited to 'llvm/docs/LangRef.rst')
-rw-r--r--llvm/docs/LangRef.rst8
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 4316848ca69..01c255d2459 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -12169,8 +12169,12 @@ intrinsic to return directly from the frame of the function it inlined into.
Lowering:
"""""""""
-Lowering for ``@llvm.experimental.deoptimize`` is not yet implemented,
-and is a work in progress.
+Calls to ``@llvm.experimental.deoptimize`` are lowered to calls to the
+symbol ``__llvm_deoptimize`` (it is the frontend's responsibility to
+ensure that this symbol is defined). The call arguments to
+``@llvm.experimental.deoptimize`` are lowered as if they were formal
+arguments of the specified types, and not as varargs.
+
Stack Map Intrinsics
--------------------
OpenPOWER on IntegriCloud