summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/aarch64-target-features.c
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2015-02-04 13:31:56 +0000
committerRenato Golin <renato.golin@linaro.org>2015-02-04 13:31:56 +0000
commit84545d7a5cecd67a658c2ecb720433653649c0f2 (patch)
tree7220099e73d54565e342da1db858c96c2e4bb54a /clang/test/Preprocessor/aarch64-target-features.c
parent60885044993683a47513f583fe965da4b93df0c0 (diff)
downloadbcm5719-llvm-84545d7a5cecd67a658c2ecb720433653649c0f2.tar.gz
bcm5719-llvm-84545d7a5cecd67a658c2ecb720433653649c0f2.zip
Teaches the Clang driver to accept Cortex-A72
A previous commit added Cortex-A72 to LLVM, this teaches Clang to accept it as well. Patch by Ranjeet Singh. llvm-svn: 228141
Diffstat (limited to 'clang/test/Preprocessor/aarch64-target-features.c')
-rw-r--r--clang/test/Preprocessor/aarch64-target-features.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/aarch64-target-features.c b/clang/test/Preprocessor/aarch64-target-features.c
index 4e9e6c7fde9..45a6c899628 100644
--- a/clang/test/Preprocessor/aarch64-target-features.c
+++ b/clang/test/Preprocessor/aarch64-target-features.c
@@ -69,9 +69,11 @@
// RUN: %clang -target aarch64 -mcpu=cyclone -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-CYCLONE %s
// RUN: %clang -target aarch64 -mcpu=cortex-a53 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-A53 %s
// RUN: %clang -target aarch64 -mcpu=cortex-a57 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-A57 %s
+// RUN: %clang -target aarch64 -mcpu=cortex-a72 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-A72 %s
// CHECK-MCPU-CYCLONE: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+neon" "-target-feature" "+crc" "-target-feature" "+crypto" "-target-feature" "+zcm" "-target-feature" "+zcz"
// CHECK-MCPU-A53: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+neon" "-target-feature" "+crc" "-target-feature" "+crypto"
// CHECK-MCPU-A57: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+neon" "-target-feature" "+crc" "-target-feature" "+crypto"
+// CHECK-MCPU-A72: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+neon" "-target-feature" "+crc" "-target-feature" "+crypto"
// RUN: %clang -target x86_64-apple-macosx -arch arm64 -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-ARCH-ARM64 %s
// CHECK-ARCH-ARM64: "-target-cpu" "cyclone" "-target-feature" "+neon" "-target-feature" "+crc" "-target-feature" "+crypto" "-target-feature" "+zcm" "-target-feature" "+zcz"
OpenPOWER on IntegriCloud