[clang] [flang] [llvm] Re-land: "[AArch64] Add ability to list extensions enabled for a target" (#95805) (PR #96795)

David Spickett via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 27 00:58:11 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);
----------------
DavidSpickett wrote:

Might as well be const correct too if you're changing it.

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


More information about the cfe-commits mailing list