Stephen Hines | 1aeaece | 2014-10-17 08:52:15 -0700 | [diff] [blame^] | 1 | // RUN: %clang -target aarch64-linux-eabi %s -### 2>&1 \ |
| 2 | // RUN: | FileCheck --check-prefix=CHECK-DEF %s |
| 3 | // RUN: %clang -target aarch64-linux-eabi -mfix-cortex-a53-835769 %s -### 2>&1 \ |
| 4 | // RUN: | FileCheck --check-prefix=CHECK-YES %s |
| 5 | // RUN: %clang -target aarch64-linux-eabi -mno-fix-cortex-a53-835769 %s -### 2>&1 \ |
| 6 | // RUN: | FileCheck --check-prefix=CHECK-NO %s |
| 7 | |
| 8 | // RUN: %clang -target aarch64-android-eabi %s -### 2>&1 \ |
| 9 | // RUN: | FileCheck --check-prefix=CHECK-YES %s |
| 10 | |
| 11 | // CHECK-DEF-NOT: "-backend-option" "-aarch64-fix-cortex-a53-835769" |
| 12 | // CHECK-YES: "-backend-option" "-aarch64-fix-cortex-a53-835769=1" |
| 13 | // CHECK-NO: "-backend-option" "-aarch64-fix-cortex-a53-835769=0" |