[PATCH] D146054: [RISCV] Add --print-supported-extensions and -march=help support
Kito Cheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 28 05:10:38 PDT 2023
kito-cheng added inline comments.
================
Comment at: clang/tools/driver/cc1_main.cpp:187-188
+/// Print supported extensions of the given target.
+static int PrintSupportedExtensions(std::string TargetStr) {
+ llvm::riscvMarchHelp();
+
----------------
Plz make sure only RISC-V print that, x86 or other target print RISC-V's ext is really weird.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146054/new/
https://reviews.llvm.org/D146054
More information about the llvm-commits
mailing list