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

David Spickett via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 17 05:55:24 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"
----------------
DavidSpickett wrote:

In general, why are these `{{.*}}` now needed in many tests? Is it that we're listing features we didn't before, because before they were expanded in the backend?

Features that are unrelated to, in this case, bf16.

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


More information about the cfe-commits mailing list