diff options
author | Robert Widmann <devteam.codafi@gmail.com> | 2019-08-14 23:54:35 +0000 |
---|---|---|
committer | Robert Widmann <devteam.codafi@gmail.com> | 2019-08-14 23:54:35 +0000 |
commit | 708c4605a16b1caae640343ccf2ec74a56aee30e (patch) | |
tree | aac6b741ad1296cdffc02b5daac01a0a1560e0f4 /llvm/include/llvm-c/Error.h | |
parent | 1c705d9c538d1d4a24f34e93be2582bc7e3a3da4 (diff) | |
download | bcm5719-llvm-708c4605a16b1caae640343ccf2ec74a56aee30e.tar.gz bcm5719-llvm-708c4605a16b1caae640343ccf2ec74a56aee30e.zip |
Expose TailCallKind via the LLVM C API
Summary: This exposes `CallInst`'s tail call kind via new `LLVMGetTailCallKind` and `LLVMSetTailCallKind` functions. The motivation for this is to be able to see `musttail` for languages that require mandatory tail calls for correctness. Today only the weaker `LLVMSetTail` is exposed and there is no way to set `GuaranteedTailCallOpt` via the C API.
Reviewers: CodaFi, jyknight, deadalnix, rnk
Reviewed By: CodaFi
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66061
llvm-svn: 368945
Diffstat (limited to 'llvm/include/llvm-c/Error.h')
0 files changed, 0 insertions, 0 deletions