Add lowering support for llvm.experimental.deoptimize
authorSanjoy Das <sanjoy@playingwithpointers.com>
Thu, 24 Mar 2016 20:23:29 +0000 (20:23 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Thu, 24 Mar 2016 20:23:29 +0000 (20:23 +0000)
commitdf9ae70f49a506cddf6bbfdb472b0913567d8010
treed983645250970043594e7fbe9720e07753e95515
parentc9d4caa32c02c8bfa29c1e5af610c28f7592df5b
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
llvm/docs/LangRef.rst
llvm/include/llvm/CodeGen/RuntimeLibcalls.h
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
llvm/lib/CodeGen/TargetLoweringBase.cpp
llvm/test/CodeGen/X86/deopt-intrinsic.ll [new file with mode: 0644]