forked from OSchip/llvm-project
test/Frontend: Add a test for aarch64 target CPU names.
Nothing else checked the target cpu names for aarch64 yet. Add a test in the spirit of x86-target-cpu.c. llvm-svn: 276930
This commit is contained in:
parent
6ad11704b4
commit
939af9c226
|
@ -0,0 +1,14 @@
|
|||
// Ensure we support the various CPU names.
|
||||
//
|
||||
// RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu cortex-a35 -verify %s
|
||||
// RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu cortex-a53 -verify %s
|
||||
// RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu cortex-a57 -verify %s
|
||||
// RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu cortex-a72 -verify %s
|
||||
// RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu cortex-a73 -verify %s
|
||||
// RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu cyclone -verify %s
|
||||
// RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu exynos-m1 -verify %s
|
||||
// RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu generic -verify %s
|
||||
// RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu kryo -verify %s
|
||||
// RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu vulcan -verify %s
|
||||
//
|
||||
// expected-no-diagnostics
|
Loading…
Reference in New Issue