[PATCH] D103184: [AArch64] handle -Wa,-march=

Jian Cai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 21 10:09:50 PDT 2021


jcai19 updated this revision to Diff 353410.
jcai19 edited the summary of this revision.
jcai19 added a comment.

The original implementation was indeed flawed. The failed test does not specify target triple so on X86 machines the issue won't happen unless I explicitly specify "-target aarch64".
This fixes the problem.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103184

Files:
  clang/lib/Driver/ToolChains/Arch/AArch64.cpp
  clang/lib/Driver/ToolChains/Arch/AArch64.h
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/test/Driver/aarch64-target-as-march.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103184.353410.patch
Type: text/x-patch
Size: 5366 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210621/46fb822c/attachment-0001.bin>


More information about the cfe-commits mailing list