File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -353,12 +353,11 @@ class LLVM_LIBRARY_VISIBILITY X86TargetInfo : public TargetInfo {
353
353
case CC_C:
354
354
case CC_PreserveMost:
355
355
case CC_Swift:
356
+ case CC_SwiftAsync:
356
357
case CC_X86Pascal:
357
358
case CC_IntelOclBicc:
358
359
case CC_OpenCLKernel:
359
360
return CCCR_OK;
360
- case CC_SwiftAsync:
361
- return CCCR_Error;
362
361
default :
363
362
return CCCR_Warning;
364
363
}
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