[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / aarch64-bf16.c
blobc32bd5878c640e60f70fd7ee30000a4e4a347ced
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"