23 lines · c
1// RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \2// RUN: -mcpu=pwr10 -mmma %s 2>&1 | FileCheck %s --check-prefix=HASMMA3// RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \4// RUN: -mcpu=power10 -mmma %s 2>&1 | FileCheck %s --check-prefix=HASMMA5 6// RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \7// RUN: -mcpu=pwr9 -mmma %s 2>&1 | FileCheck %s --check-prefix=NOMMA8// RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \9// RUN: -mcpu=pwr8 -mmma %s 2>&1 | FileCheck %s --check-prefix=NOMMA10// RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \11// RUN: -mcpu=pwr7 -mmma %s 2>&1 | FileCheck %s --check-prefix=NOMMA12// RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \13// RUN: -mmma %s 2>&1 | FileCheck %s --check-prefix=NOMMA14 15#ifdef __MMA__16static_assert(false, "MMA enabled");17#endif18 19// HASMMA: MMA enabled20// HASMMA-NOT: option '-mmma' cannot be specified with21// NOMMA: option '-mmma' cannot be specified with22 23