aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Driver/aarch64-fix-cortex-a53-835769.c
blob: 84d8c1dde7a7890f39a331b9dae5dcf2fc65c0bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// RUN: %clang --target=aarch64 %s -### 2>&1 \
// RUN:   | FileCheck --check-prefix=CHECK-DEF %s
// RUN: %clang --target=aarch64 -mfix-cortex-a53-835769 %s -### 2>&1 \
// RUN:   | FileCheck --check-prefix=CHECK-YES %s
// RUN: %clang --target=aarch64 -mno-fix-cortex-a53-835769 %s -### 2>&1 \
// RUN:   | FileCheck --check-prefix=CHECK-NO %s

// RUN: %clang --target=aarch64-linux-androideabi %s -### 2>&1 \
// RUN:   | FileCheck --check-prefix=CHECK-YES %s

// RUN: %clang --target=aarch64-fuchsia %s -### 2>&1 \
// RUN:   | FileCheck --check-prefix=CHECK-YES %s

// RUN: %clang --target=aarch64-fuchsia -mcpu=cortex-a73 %s -### 2>&1 \
// RUN:   | FileCheck --check-prefix=CHECK-DEF %s

// CHECK-DEF-NOT: "{[+-]}fix-cortex-a53-835769"
// CHECK-YES: "+fix-cortex-a53-835769"
// CHECK-NO: "-fix-cortex-a53-835769"