Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Preprocessor / x86_amx_target_features.c
blobd5e41d152eb592dd2cd5cd477b5954613e7738c3
1 // RUN: %clang -target i386-unknown-linux-gnu -march=i386 -mamx-tile -x c -E -dM -o - %s | FileCheck -check-prefix=AMX-TILE %s
3 // AMX-TILE: #define __AMX_TILE__ 1
5 // RUN: %clang -target i386-unknown-linux-gnu -march=i386 -mamx-bf16 -x c -E -dM -o - %s | FileCheck -check-prefix=AMX-BF16 %s
7 // AMX-BF16: #define __AMX_BF16__ 1
8 // AMX-BF16: #define __AMX_TILE__ 1
10 // RUN: %clang -target i386-unknown-linux-gnu -march=i386 -mamx-int8 -x c -E -dM -o - %s | FileCheck -check-prefix=AMX-INT8 %s
12 // AMX-INT8: #define __AMX_INT8__ 1
13 // AMX-INT8: #define __AMX_TILE__ 1
15 // RUN: %clang -target i386-unknown-linux-gnu -march=i386 -mno-amx-tile -x c -E -dM -o - %s | FileCheck -check-prefix=NOAMX-TILE %s
17 // NOAMX-TILE-NOT: #define __AMX_TILE__ 1
19 // RUN: %clang -target i386-unknown-linux-gnu -march=i386 -mno-amx-bf16 -x c -E -dM -o - %s | FileCheck -check-prefix=NOAMX-BF16 %s
21 // NOAMX-BF16-NOT: #define __AMX_BF16__ 1
23 // RUN: %clang -target i386-unknown-linux-gnu -march=i386 -mamx-bf16 -mno-amx-tile -x c -E -dM -o - %s | FileCheck -check-prefix=NOAMX-BF16 %s
25 // NOAMX-BF16-NOT: #define __AMX_TILE__ 1
26 // NOAMX-BF16-NOT: #define __AMX_BF16__ 1
28 // RUN: %clang -target i386-unknown-linux-gnu -march=i386 -mno-amx-int8 -x c -E -dM -o - %s | FileCheck -check-prefix=NOAMX-INT8 %s
30 // NOAMX-INT8-NOT: #define __AMX_INT8__ 1
32 // RUN: %clang -target i386-unknown-linux-gnu -march=i386 -mamx-int8 -mno-amx-tile -x c -E -dM -o - %s | FileCheck -check-prefix=NOAMX-INT8 %s
34 // NOAMX-INT8-NOT: #define __AMX_TILE__ 1
35 // NOAMX-INT8-NOT: #define __AMX_INT8__ 1