Remove USE_SWIFT_ASYNC_LOWERING CMake setting.

It was added for staging; but that has been completed.
This commit is contained in:
Varun Gandhi
2021-03-12 10:48:44 -08:00
parent b80ca8e8eb
commit 7e6fb9f127
6 changed files with 2 additions and 18 deletions

View File

@@ -551,7 +551,7 @@ IRGenModule::IRGenModule(IRGenerator &irgen,
bool isAsyncCCSupported =
clangASTContext.getTargetInfo().checkCallingConvention(clang::CC_SwiftAsync)
== clang::TargetInfo::CCCR_OK;
if (opts.UseAsyncLowering && isAsyncCCSupported) {
if (isAsyncCCSupported) {
SwiftAsyncCC = llvm::CallingConv::SwiftTail;
AsyncTailCallKind = llvm::CallInst::TCK_MustTail;
} else {