[clang] [clang] Enable descriptions for --print-supported-extensions (PR #66715)

David Spickett via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 20 02:51:09 PDT 2023


================
@@ -22,7 +23,8 @@ struct RISCVExtensionInfo {
   unsigned MinorVersion;
 };
 
-void riscvExtensionsHelp();
+void getAllExtensions(StringMap<RISCVExtensionInfo> &Features);
----------------
DavidSpickett wrote:

An external project needing something is not a reason to add methods in tree. It could be part of an argument to do so but in the context of this patch, this new RISC-V method is not needed and should be removed.

If you want to ease TVM's pain by upstreaming their changes you can do so, in a PR focused on that, with some in tree use case and testing.

https://github.com/llvm/llvm-project/pull/66715


More information about the cfe-commits mailing list