[PATCH] D89025: [RISCV] Add -mtune support

Kito Cheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 13 20:52:15 PDT 2020


kito-cheng added a comment.

> If possible that would good, since -mcpu is deprecated (for e.g. x86_64) or unsupported in GCC (for e.g. RISC-V). So doing that would further align Clang with GCC. But I wonder if this might be too problematic, in terms of compatibility.

I am also working on `-mcpu` support for RISC-V GCC, and I expect it would included in next GCC release, so `-mcpu` and `-mtune` would align between both compilers.
https://gcc.gnu.org/pipermail/gcc-patches/2020-October/556058.html


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89025



More information about the llvm-commits mailing list