[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:56 PDT 2024


================
@@ -23,6 +23,7 @@
 class Extension<
   string TargetFeatureName,            // String used for -target-feature and -march, unless overridden.
   string Spelling,                     // The XYZ in HasXYZ and AEK_XYZ.
+  string ArchitectureFeatureName,      // The extension's "FEAT_*"" name(s) defined by the architecture
----------------
tmatheson-arm wrote:

Keep the name in sync with the name in the struct if you can

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


More information about the llvm-commits mailing list