aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringBase.cpp
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/TargetLoweringBase.cpp
parentc9d4caa32c02c8bfa29c1e5af610c28f7592df5b (diff)
downloadllvm-df9ae70f49a506cddf6bbfdb472b0913567d8010.zip
llvm-df9ae70f49a506cddf6bbfdb472b0913567d8010.tar.gz
llvm-df9ae70f49a506cddf6bbfdb472b0913567d8010.tar.bz2
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/TargetLoweringBase.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringBase.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringBase.cpp b/llvm/lib/CodeGen/TargetLoweringBase.cpp
index d714ad1..747950f 100644
--- a/llvm/lib/CodeGen/TargetLoweringBase.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringBase.cpp
@@ -435,6 +435,8 @@ static void InitLibcallNames(const char **Names, const Triple &TT) {
Names[RTLIB::FPEXT_F16_F32] = "__extendhfsf2";
Names[RTLIB::FPROUND_F32_F16] = "__truncsfhf2";
}
+
+ Names[RTLIB::DEOPTIMIZE] = "__llvm_deoptimize";
}
/// InitLibcallCallingConvs - Set default libcall CallingConvs.