[RISCV][FMV] Support target_clones (#85786)
[llvm-project.git] / clang / test / Frontend / aarch64-target-cpu.c
blob4055ddee1979c5d113d9ca1b790a54e4b7a46a8a
1 // Ensure we support the various CPU names.
2 //
3 // RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu cortex-a35 -verify %s
4 // RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu cortex-a53 -verify %s
5 // RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu cortex-a57 -verify %s
6 // RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu cortex-a72 -verify %s
7 // RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu cortex-a73 -verify %s
8 // RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu cyclone -verify %s
9 // RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu exynos-m3 -verify %s
10 // RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu generic -verify %s
11 // RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu kryo -verify %s
12 // RUN: %clang_cc1 -triple aarch64-unknown-unknown -target-cpu thunderx2t99 -verify %s
14 // expected-no-diagnostics