[PATCH] D95872: [clang][Arm] Fix handling of -Wa,-march=

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 2 15:03:58 PST 2021


nickdesaulniers added inline comments.


================
Comment at: clang/test/Driver/arm-target-as-march-mcpu.s:42
+/// We use the target CPU for both.
+// RUN: %clang -target arm-linux-gnueabi -### -c -mcpu=cortex-a8 -Wa,-march=armv8a %s 2>&1 | \
+// RUN: FileCheck -check-prefix=TRIPLE-ARMV8 --check-prefix=CPU-A8 %s
----------------
nickdesaulniers wrote:
> Below you have a comment `(cortex-a32 is armv8a)`.  That is very helpful for me.  I assume `cortex-a8` is armv7a?
And if so, would you mind adding a similar comment here?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95872/new/

https://reviews.llvm.org/D95872



More information about the cfe-commits mailing list