[llvm] [AArch64] Merge duplicate extension information. (PR #92319)

Tomas Matheson via llvm-commits llvm-commits at lists.llvm.org
Thu May 16 02:07:00 PDT 2024


================
@@ -216,8 +211,10 @@ def FeaturePAN_RWV : SubtargetFeature<
 def FeaturePsUAO : SubtargetFeature< "uaops", "HasPsUAO", "true",
     "Enable v8.2 UAO PState (FEAT_UAO)">;
 
-def FeatureCCPP : SubtargetFeature<"ccpp", "HasCCPP",
-    "true", "Enable v8.2 data Cache Clean to Point of Persistence (FEAT_DPB)" >;
+let ArchExtKindSpelling = "AEK_DPB", MArchName = "dpb" in
----------------
tmatheson-arm wrote:

Please don't override the `ArchExtKindSpelling` for new extensions, let them default to e.g. `AEK_CCPP` so they correspond to the SubtargetFeature field name.

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


More information about the llvm-commits mailing list