[PATCH] D103184: [AArch64] handle -Wa,-march=
Nick Desaulniers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 2 15:47:27 PDT 2021
nickdesaulniers added inline comments.
================
Comment at: clang/test/Driver/aarch64-target-as-march.s:20-25
+/// No unused argument warnings when there are multiple values
+// RUN: %clang --target=aarch64-linux-gnueabi -### -c -Wa,-march=armv8.1-a -Wa,-march=armv8.2-a %s 2>&1 | \
+// RUN: FileCheck --check-prefix=MULTIPLE-VALUES %s
+
+// MULTIPLE-VALUES: "-target-feature" "+v8.2a
+// MULTIPLE-VALUES-NOT: "-target-feature" "+v8.1a
----------------
perhaps add a test with 8.1 and 8.2 in opposite order that 8.1 is chosen, not 8.2?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103184/new/
https://reviews.llvm.org/D103184
More information about the cfe-commits
mailing list