[AMDGPU] Removed superfluous predicate. NFC.
[llvm-project.git] / clang / test / Driver / aarch64-mac-cpus.c
blob51797312689506d5d01d6150dfea6cf69c5f5f0a
1 // arm64 Mac-based targets default to Apple A13.
3 // RUN: %clang --target=arm64-apple-macos -### -c %s 2>&1 | FileCheck %s
4 // RUN: %clang --target=arm64-apple-ios-macabi -### -c %s 2>&1 | FileCheck %s
5 // RUN: %clang --target=arm64-apple-ios-simulator -### -c %s 2>&1 | FileCheck %s
6 // RUN: %clang --target=arm64-apple-watchos-simulator -### -c %s 2>&1 | FileCheck %s
7 // RUN: %clang --target=arm64-apple-tvos-simulator -### -c %s 2>&1 | FileCheck %s
9 // RUN: %clang --target=arm64-apple-macos -arch arm64 -### -c %s 2>&1 | FileCheck %s
11 // RUN: %clang --target=arm64e-apple-macos -### -c %s 2>&1 | FileCheck %s
13 // RUN: %clang --target=arm64-apple-macos -mcpu=apple-a11 -### -c %s 2>&1 | FileCheck --check-prefix=EXPLICIT-A11 %s
14 // RUN: %clang --target=arm64-apple-macos -mcpu=apple-a7 -### -c %s 2>&1 | FileCheck --check-prefix=EXPLICIT-A7 %s
15 // RUN: %clang --target=arm64-apple-macos -mcpu=apple-a14 -### -c %s 2>&1 | FileCheck --check-prefix=EXPLICIT-A14 %s
16 // RUN: %clang --target=arm64-apple-macos -mcpu=apple-m1 -### -c %s 2>&1 | FileCheck --check-prefix=EXPLICIT-M1 %s
18 // CHECK: "-cc1"{{.*}} "-triple" "arm64{{.*}}" "-target-cpu" "apple-m1"
19 // CHECK-SAME: "-target-feature" "+v8.5a"
21 // EXPLICIT-A11: "-cc1"{{.*}} "-triple" "arm64{{.*}}" "-target-cpu" "apple-a11"
22 // EXPLICIT-A7: "-cc1"{{.*}} "-triple" "arm64{{.*}}" "-target-cpu" "apple-a7"
23 // EXPLICIT-A14: "-cc1"{{.*}} "-triple" "arm64{{.*}}" "-target-cpu" "apple-a14"
24 // EXPLICIT-M1: "-cc1"{{.*}} "-triple" "arm64{{.*}}" "-target-cpu" "apple-m1"