Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / aarch64-bf16.c
blobae6b9faa95d7115bbd57984b65f47f7029f4b42e
1 // The BFloat16 extension is a mandatory component of the Armv8.6-A extensions, but is permitted as an
2 // optional feature for any implementation of Armv8.2-A to Armv8.5-A (inclusive)
3 // RUN: %clang --target=aarch64 -march=armv8.5a+bf16 -### -c %s 2>&1 | FileCheck -check-prefix=GENERICV85A-BF16 %s
4 // GENERICV85A-BF16: "-target-feature" "+bf16"
5 // RUN: %clang --target=aarch64 -march=armv8.5a+bf16+nobf16 -### -c %s 2>&1 | FileCheck -check-prefix=GENERICV85A-BF16-NO-BF16 %s
6 // GENERICV85A-BF16-NO-BF16: "-target-feature" "-bf16"
7 // RUN: %clang --target=aarch64 -march=armv8.5a+bf16+sve -### -c %s 2>&1 | FileCheck -check-prefixes=GENERICV85A-BF16-SVE %s
8 // GENERICV85A-BF16-SVE: "-target-feature" "+bf16" "-target-feature" "+sve"