[PATCH] D155824: [LoongArch] Support -march=native and -mtune=
Steven Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 31 15:49:27 PDT 2023
steven_wu added a comment.
After another look, I will need to request to revert this because this implementation doesn't work with `-fno-integrated-cc1` at all. You can't setCPU/Tune in the driver into a global variable and expect that will work during compilation.
You can reproduce with `-fno-integrated-cc1` option or build clang with cmake option `-DCLANG_SPAWN_CC1=On`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155824/new/
https://reviews.llvm.org/D155824
More information about the cfe-commits
mailing list