[clang] [llvm] [AArch64] Add ability to list extensions enabled for a target (PR #95805)

Tomas Matheson via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 24 06:57:24 PDT 2024


================
@@ -116,12 +116,18 @@ using ExtensionBitset = Bitset<AEK_NUM_EXTENSIONS>;
 // SubtargetFeature which may represent either an actual extension or some
 // internal LLVM property.
 struct ExtensionInfo {
-  StringRef Name;                 // Human readable name, e.g. "profile".
+  StringRef UserVisibleName;      // Human readable name used in -march, -cpu
----------------
tmatheson-arm wrote:

Please could you make the names here consistent with tablegen, i.e. either pick `UserVisibleName` or `MArchName`.

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


More information about the cfe-commits mailing list