![]() To make use of SPARC support in `getHostCPUName` as implemented by D130272 <https://reviews.llvm.org/D130272>, this patch uses it to handle `-mcpu=native` and `-mtune=native`. To match GCC, this patch rejects `-march` instead of silently treating it as a no-op. Tested on `sparcv9-sun-solaris2.11` and checking that those options are passed on as `-target-cpu` resp. `-tune-cpu` as expected. Differential Revision: https://reviews.llvm.org/D130273 |
||
---|---|---|
.. | ||
AArch64.cpp | ||
AArch64.h | ||
ARM.cpp | ||
ARM.h | ||
CSKY.cpp | ||
CSKY.h | ||
M68k.cpp | ||
M68k.h | ||
Mips.cpp | ||
Mips.h | ||
PPC.cpp | ||
PPC.h | ||
RISCV.cpp | ||
RISCV.h | ||
Sparc.cpp | ||
Sparc.h | ||
SystemZ.cpp | ||
SystemZ.h | ||
VE.cpp | ||
VE.h | ||
X86.cpp | ||
X86.h |