File tree 2 files changed +3
-2
lines changed 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -344,12 +344,11 @@ class LLVM_LIBRARY_VISIBILITY X86TargetInfo : public TargetInfo {
344
344
case CC_C:
345
345
case CC_PreserveMost:
346
346
case CC_Swift:
347
+ case CC_SwiftAsync:
347
348
case CC_X86Pascal:
348
349
case CC_IntelOclBicc:
349
350
case CC_OpenCLKernel:
350
351
return CCCR_OK;
351
- case CC_SwiftAsync:
352
- return CCCR_Error;
353
352
default :
354
353
return CCCR_Warning;
355
354
}
Original file line number Diff line number Diff line change 3
3
// RUN: %clang_cc1 -triple armv7-apple-darwin9 -emit-llvm -o - %s | FileCheck %s
4
4
// RUN: %clang_cc1 -triple armv7s-apple-ios9 -emit-llvm -o - %s | FileCheck %s
5
5
// RUN: %clang_cc1 -triple armv7k-apple-ios9 -emit-llvm -o - %s | FileCheck %s
6
+ // RUN: %clang_cc1 -triple i386-apple-watchos2 -emit-llvm -o - %s | FileCheck %s
6
7
7
8
// RUN: %clang_cc1 -x c++ -triple x86_64-apple-darwin10 -target-cpu core2 -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK --check-prefix=CPPONLY
8
9
// RUN: %clang_cc1 -x c++ -triple arm64-apple-ios9 -target-cpu cyclone -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK --check-prefix=CPPONLY
9
10
// RUN: %clang_cc1 -x c++ -triple armv7-apple-darwin9 -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK --check-prefix=CPPONLY
10
11
// RUN: %clang_cc1 -x c++ -triple armv7s-apple-ios9 -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK --check-prefix=CPPONLY
11
12
// RUN: %clang_cc1 -x c++ -triple armv7k-apple-ios9 -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK --check-prefix=CPPONLY
13
+ // RUN: %clang_cc1 -x c++ -triple i386-apple-watchos2 -emit-llvm -o - %s | FileCheck %s --check-prefix=CHECK --check-prefix=CPPONLY
12
14
13
15
// Test tail call behavior when a swiftasynccall function is called
14
16
// from another swiftasynccall function.
You can’t perform that action at this time.
0 commit comments