Changeset View
Changeset View
Standalone View
Standalone View
clang/test/Driver/aarch64-fix-cortex-a53-835769.c
// RUN: %clang -target aarch64-linux-eabi %s -### 2>&1 \ | // RUN: %clang -target aarch64-linux-eabi %s -### 2>&1 \ | ||||
// RUN: | FileCheck --check-prefix=CHECK-DEF %s | // RUN: | FileCheck --check-prefix=CHECK-DEF %s | ||||
// RUN: %clang -target aarch64-linux-eabi -mfix-cortex-a53-835769 %s -### 2>&1 \ | // RUN: %clang -target aarch64-linux-eabi -mfix-cortex-a53-835769 %s -### 2>&1 \ | ||||
// RUN: | FileCheck --check-prefix=CHECK-YES %s | // RUN: | FileCheck --check-prefix=CHECK-YES %s | ||||
// RUN: %clang -target aarch64-linux-eabi -mno-fix-cortex-a53-835769 %s -### 2>&1 \ | // RUN: %clang -target aarch64-linux-eabi -mno-fix-cortex-a53-835769 %s -### 2>&1 \ | ||||
// RUN: | FileCheck --check-prefix=CHECK-NO %s | // RUN: | FileCheck --check-prefix=CHECK-NO %s | ||||
// RUN: %clang -target aarch64-android-eabi %s -### 2>&1 \ | // RUN: %clang -target aarch64-android-eabi %s -### 2>&1 \ | ||||
// RUN: | FileCheck --check-prefix=CHECK-YES %s | // RUN: | FileCheck --check-prefix=CHECK-YES %s | ||||
// CHECK-DEF-NOT: "-mllvm" "-aarch64-fix-cortex-a53-835769" | // CHECK-DEF-NOT: "{[+-]}fix-cortex-a53-835769" | ||||
// CHECK-YES: "-mllvm" "-aarch64-fix-cortex-a53-835769=1" | // CHECK-YES: "+fix-cortex-a53-835769" | ||||
// CHECK-NO: "-mllvm" "-aarch64-fix-cortex-a53-835769=0" | // CHECK-NO: "-fix-cortex-a53-835769" |