diff options
author | Reid Kleckner <reid@kleckner.net> | 2014-05-06 20:08:20 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2014-05-06 20:08:20 +0000 |
commit | 118e1bf86209a5c7dd19c3a764db14081d111d02 (patch) | |
tree | 1b94505a36f749d05de84e38a150bd2bb448e3d5 /llvm/lib/IR/Instructions.cpp | |
parent | 0d85dbfce04fe0761ea01695c3942d7d6ed99322 (diff) | |
download | bcm5719-llvm-118e1bf86209a5c7dd19c3a764db14081d111d02.tar.gz bcm5719-llvm-118e1bf86209a5c7dd19c3a764db14081d111d02.zip |
Copy the full TailCallKind in CallInst::clone_impl
Split from the musttail inliner change. This will be covered by an opt
test when the inliner change lands.
llvm-svn: 208126
Diffstat (limited to 'llvm/lib/IR/Instructions.cpp')
-rw-r--r-- | llvm/lib/IR/Instructions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Instructions.cpp b/llvm/lib/IR/Instructions.cpp index 8aebb8c7c2c..13c51b817c0 100644 --- a/llvm/lib/IR/Instructions.cpp +++ b/llvm/lib/IR/Instructions.cpp @@ -324,7 +324,7 @@ CallInst::CallInst(const CallInst &CI) OperandTraits<CallInst>::op_end(this) - CI.getNumOperands(), CI.getNumOperands()) { setAttributes(CI.getAttributes()); - setTailCall(CI.isTailCall()); + setTailCallKind(CI.getTailCallKind()); setCallingConv(CI.getCallingConv()); std::copy(CI.op_begin(), CI.op_end(), op_begin()); |