[PATCH] D136930: [RISCV] Support -mcpu/mtune=native

Wang Pengcheng via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 1 01:16:29 PDT 2022


pcwang-thead updated this revision to Diff 472228.
pcwang-thead added a comment.

- Add release note.
- Add tests to `riscv-cpus.c`.
- Add `getRISCVTargetCPU`.
- Make diagnostic more exact for `native`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136930

Files:
  clang/docs/ReleaseNotes.rst
  clang/lib/Driver/ToolChains/Arch/RISCV.cpp
  clang/lib/Driver/ToolChains/Arch/RISCV.h
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Driver/ToolChains/CommonArgs.cpp
  clang/test/Driver/riscv-cpus.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136930.472228.patch
Type: text/x-patch
Size: 7764 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221101/391fdd8c/attachment-0001.bin>


More information about the cfe-commits mailing list