[PATCH] D146054: [RISCV] Add -print-supported-marchs and -march=help support

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 15 18:30:51 PDT 2023


craig.topper added inline comments.


================
Comment at: llvm/lib/Support/RISCVISAInfo.cpp:153
+  std::set<RISCVSupportedExtension, decltype(Cmp)> TempSet(Cmp);
+  for (auto E : SupportedExtensions)
+    TempSet.insert(E);
----------------
Question for the community. Should we maintain SupportedExtensions in the order we want printed instead of sorting?


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