[clang] [flang] [llvm] Re-land: "[AArch64] Add ability to list extensions enabled for a target" (#95805) (PR #96795)
Jonathan Thackray via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 26 09:55:31 PDT 2024
================
@@ -343,7 +350,9 @@ bool isX18ReservedByDefault(const Triple &TT);
// themselves, they are sequential (0, 1, 2, 3, ...).
uint64_t getCpuSupportsMask(ArrayRef<StringRef> FeatureStrs);
-void PrintSupportedExtensions(StringMap<StringRef> DescMap);
+void PrintSupportedExtensions();
+
+void printEnabledExtensions(std::set<StringRef> EnabledFeatureNames);
----------------
jthackray wrote:
Can this be `std::set<StringRef>&` to avoid a (maybe large) copy?
https://github.com/llvm/llvm-project/pull/96795
More information about the cfe-commits
mailing list