[PATCH] D146054: [RISCV] Add -print-supported-marchs and -march=help support
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 20 10:33:06 PDT 2023
craig.topper added inline comments.
================
Comment at: clang/tools/driver/cc1_main.cpp:197
+ if (TargetStr.find("riscv") == std::string::npos) {
+ llvm::errs() << "The -march=help only supports for RISCV target.\n";
+ return 1;
----------------
MaskRay wrote:
> The check should be added to lib/Driver
RISCV -> RISC-V in user facing messages.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146054/new/
https://reviews.llvm.org/D146054
More information about the cfe-commits
mailing list