[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / ppc-mma-support-check.c
blobcd701619bbe416c812e6bf85cb22332b4cc2e167
1 // RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \
2 // RUN: -mcpu=pwr10 -mmma %s 2>&1 | FileCheck %s --check-prefix=HASMMA
3 // RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \
4 // RUN: -mcpu=power10 -mmma %s 2>&1 | FileCheck %s --check-prefix=HASMMA
6 // RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \
7 // RUN: -mcpu=pwr9 -mmma %s 2>&1 | FileCheck %s --check-prefix=NOMMA
8 // RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \
9 // RUN: -mcpu=pwr8 -mmma %s 2>&1 | FileCheck %s --check-prefix=NOMMA
10 // RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \
11 // RUN: -mcpu=pwr7 -mmma %s 2>&1 | FileCheck %s --check-prefix=NOMMA
12 // RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \
13 // RUN: -mmma %s 2>&1 | FileCheck %s --check-prefix=NOMMA
15 #ifdef __MMA__
16 static_assert(false, "MMA enabled");
17 #endif
19 // HASMMA: MMA enabled
20 // HASMMA-NOT: option '-mmma' cannot be specified with
21 // NOMMA: option '-mmma' cannot be specified with