[PATCH] D112459: [AArch64] Enablement of Cortex-X2

Dave Green via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 25 08:25:23 PDT 2021


dmgreen added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64.td:689
+                                  "Cortex-X2 ARM processors", [
+                                  FeatureFuseAES,
+                                  FeaturePostRAScheduler]>;
----------------
According to the software optimization guide, we can enable FeatureCmpBccFusion too.


================
Comment at: llvm/lib/Target/AArch64/AArch64Subtarget.cpp:105
   case CortexX1:
+  case CortexX2:
     PrefFunctionLogAlignment = 4;
----------------
This can be a new block with VScaleForTuning = 1 (I think) and the PrefFunctionLogAlignment.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112459/new/

https://reviews.llvm.org/D112459



More information about the cfe-commits mailing list