[clang] [RISCV] Support -march=native (PR #215939)

Kito Cheng via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 13 01:29:37 PDT 2026


kito-cheng wrote:

> > Hmmm, I thought we have implemented already. Do we have a sentence in toolchain-convention repo? We may need to write this down.
> 
> Doesn't look like we have -mcpu=native or -mtune=native in toolchain conventions either. @kito-cheng does gcc implement any of these today?

-mcpu=native, -mtune=native and -march=native is all not implement yet on gcc side

https://github.com/llvm/llvm-project/pull/215939


More information about the cfe-commits mailing list