[PATCH] D130273: [clang][Driver] Handle SPARC -mcpu=native etc.

Rainer Orth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 28 04:13:28 PDT 2022


ro updated this revision to Diff 448290.
ro marked 3 inline comments as done.
ro edited the summary of this revision.
ro added a comment.

- Incorporate review comments.
- Add testcases.
- Reject `-march`, matching GCC.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130273

Files:
  clang/lib/Driver/ToolChains/Arch/Sparc.cpp
  clang/lib/Driver/ToolChains/Arch/Sparc.h
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Driver/ToolChains/CommonArgs.cpp
  clang/test/Driver/sparc-march.c
  clang/test/Driver/sparc-mcpu.c
  clang/test/Driver/sparc-mtune.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130273.448290.patch
Type: text/x-patch
Size: 6852 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220728/51f42ea9/attachment.bin>


More information about the cfe-commits mailing list