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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits