summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
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/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
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/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
index eebae0d35a5..4b222a9c435 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
@@ -781,6 +781,8 @@ public:
void LowerCallSiteWithDeoptBundle(ImmutableCallSite CS, SDValue Callee,
const BasicBlock *EHPadBB);
+ void LowerDeoptimizeCall(const CallInst *CI);
+
private:
// Terminator instructions.
void visitRet(const ReturnInst &I);
OpenPOWER on IntegriCloud