diff options
author | Jessica Paquette <jpaquette@apple.com> | 2019-08-28 16:19:01 +0000 |
---|---|---|
committer | Jessica Paquette <jpaquette@apple.com> | 2019-08-28 16:19:01 +0000 |
commit | af0bd41e064f4608da29e741ad45fc4a6ef3abac (patch) | |
tree | 6e221e1e84e4c72bb8b7843d834dd39c41a171e1 /llvm/lib/CodeGen | |
parent | 1d8a886c596501f21366556b6e1e2d889a0b63dd (diff) | |
download | bcm5719-llvm-af0bd41e064f4608da29e741ad45fc4a6ef3abac.tar.gz bcm5719-llvm-af0bd41e064f4608da29e741ad45fc4a6ef3abac.zip |
[AArch64][GlobalISel] Fall back when translating musttail calls
These are currently translated as normal functions calls in AArch64.
Until we have proper tail call lowering, we shouldn't translate these.
Differential Revision: https://reviews.llvm.org/D66842
llvm-svn: 370225
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/GlobalISel/CallLowering.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/GlobalISel/CallLowering.cpp b/llvm/lib/CodeGen/GlobalISel/CallLowering.cpp index efed4c281b5..5e08361fc05 100644 --- a/llvm/lib/CodeGen/GlobalISel/CallLowering.cpp +++ b/llvm/lib/CodeGen/GlobalISel/CallLowering.cpp @@ -62,6 +62,7 @@ bool CallLowering::lowerCall(MachineIRBuilder &MIRBuilder, ImmutableCallSite CS, CS.getInstruction()->getMetadata(LLVMContext::MD_callees); Info.CallConv = CS.getCallingConv(); Info.SwiftErrorVReg = SwiftErrorVReg; + Info.IsMustTailCall = CS.isMustTailCall(); return lowerCall(MIRBuilder, Info); } |