[RISCV][FMV] Support target_clones (#85786)
[llvm-project.git] / clang / test / Driver / aarch64-i8mm.c
blob7e395caff457ad0bf4edb4b1c5526056d497968c
1 // The 8-bit integer matrix multiply extension is a mandatory component of the
2 // Armv8.6-A extensions, but is permitted as an optional feature for any
3 // implementation of Armv8.2-A to Armv8.5-A (inclusive)
4 // RUN: %clang --target=aarch64 -march=armv8.5a -S -o - -emit-llvm -c %s 2>&1 | FileCheck -check-prefix=NOI8MM %s
5 // RUN: %clang --target=aarch64 -march=armv8.5a+i8mm -S -o - -emit-llvm -c %s 2>&1 | FileCheck -check-prefix=I8MM %s
6 // RUN: %clang --target=aarch64 -march=armv8.6a -S -o - -emit-llvm -c %s 2>&1 | FileCheck -check-prefix=I8MM %s
8 // I8MM: "target-features"="{{.*}},+i8mm
9 // NOI8MM-NOT: "target-features"="{{.*}},+i8mm
11 void test() {}