[flang-commits] [llvm] [clang] [flang] [AArch64][Driver] Better handling of target feature dependencies (PR #78270)

via flang-commits flang-commits at lists.llvm.org
Wed Jan 17 06:40:04 PST 2024


================
@@ -5,4 +5,4 @@
 // RUN: %clang --target=aarch64 -march=armv8.5a+bf16+nobf16 -### -c %s 2>&1 | FileCheck -check-prefix=GENERICV85A-BF16-NO-BF16 %s
 // GENERICV85A-BF16-NO-BF16: "-target-feature" "-bf16"
 // RUN: %clang --target=aarch64 -march=armv8.5a+bf16+sve -### -c %s 2>&1 | FileCheck -check-prefixes=GENERICV85A-BF16-SVE %s
-// GENERICV85A-BF16-SVE: "-target-feature" "+bf16" "-target-feature" "+sve"
+// GENERICV85A-BF16-SVE: "-target-feature" "+bf16"{{.*}} "-target-feature" "+sve"
----------------
ostannard wrote:

Yes, we now list every optional feature which the architecture/cpu has by default, most of which aren't relevant to the tests. The order has also changed, so that it matches the source-code order in AArch64TargetParser.h

https://github.com/llvm/llvm-project/pull/78270


More information about the flang-commits mailing list