Debian Codegraph @

clang/test/Driver/aarch64-fix-cortex-a53-835769.c

raw
1 // RUN: %clang --target=aarch64 %s -### 2>&1 \
2 // RUN: | FileCheck --check-prefix=CHECK-DEF %s
3 // RUN: %clang --target=aarch64 -mfix-cortex-a53-835769 %s -### 2>&1 \
4 // RUN: | FileCheck --check-prefix=CHECK-YES %s
5 // RUN: %clang --target=aarch64 -mno-fix-cortex-a53-835769 %s -### 2>&1 \
6 // RUN: | FileCheck --check-prefix=CHECK-NO %s
7
8 // RUN: %clang --target=aarch64-linux-androideabi %s -### 2>&1 \
9 // RUN: | FileCheck --check-prefix=CHECK-YES %s
10 // RUN: %clang --target=aarch64-linux-androideabi -march=armv8.1-a %s -### 2>&1 \
11 // RUN: | FileCheck --check-prefix=CHECK-DEF %s
12
13 // RUN: %clang --target=aarch64-fuchsia %s -### 2>&1 \
14 // RUN: | FileCheck --check-prefix=CHECK-YES %s
15 // RUN: %clang --target=aarch64-fuchsia -march=armv8.1-a %s -### 2>&1 \
16 // RUN: | FileCheck --check-prefix=CHECK-DEF %s
17
18 // RUN: %clang --target=aarch64-fuchsia -mcpu=cortex-a73 %s -### 2>&1 \
19 // RUN: | FileCheck --check-prefix=CHECK-DEF %s
20
21 // CHECK-DEF-NOT: "{[+-]}fix-cortex-a53-835769"
22 // CHECK-YES: "+fix-cortex-a53-835769"
23 // CHECK-NO: "-fix-cortex-a53-835769"