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

Tomas Matheson via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 09:20:55 PDT 2024


================
@@ -114,12 +114,14 @@ 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, e.g. "profile"
----------------
tmatheson-arm wrote:

This is also what is used in the `target` attribute.

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


More information about the llvm-commits mailing list