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

David Spickett via flang-commits flang-commits at lists.llvm.org
Wed Jan 17 05:55:24 PST 2024


================
@@ -1,8 +1,9 @@
 // RUN: %clang -### --target=aarch64-none-elf -march=armv8a+predres     %s 2>&1 | FileCheck %s
+// RUN: %clang -### --target=aarch64-none-elf -mcpu=cortex-a520         %s 2>&1 | FileCheck %s
 // CHECK: "-target-feature" "+predres"
 // CHECK-NOT: "-target-feature" "-predres"
 
-// RUN: %clang -### --target=aarch64-none-elf -march=armv8.5a+nopredres %s 2>&1 | FileCheck %s --check-prefix=NOPR
+// RUN: %clang -### --target=aarch64-none-elf -mcpu=cortex-a520+nopredres %s 2>&1 | FileCheck %s --check-prefix=NOPR
----------------
DavidSpickett wrote:

Did you mean to remove the armv8.5-a line here? As above you added the cortex-a520 instead of replacing the armv8.5 line.

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


More information about the flang-commits mailing list