[llvm] f9331c9 - [AArch64] Fix the TuneExynosM4 entry in lib/Target/AArch64/AArch64.td

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 4 02:27:32 PST 2022


Author: David Sherwood
Date: 2022-03-04T10:27:21Z
New Revision: f9331c9a2c8746bc1a63d45c59019545e376b3e0

URL: https://github.com/llvm/llvm-project/commit/f9331c9a2c8746bc1a63d45c59019545e376b3e0
DIFF: https://github.com/llvm/llvm-project/commit/f9331c9a2c8746bc1a63d45c59019545e376b3e0.diff

LOG: [AArch64] Fix the TuneExynosM4 entry in lib/Target/AArch64/AArch64.td

A bug was introduced in 5ea35791e6642f6160819c930f79b0f57ad0e907 that
gave the wrong name and description for TuneExynosM4. This patch fixes
that and changes it back to m3.

Differential Revision: https://reviews.llvm.org/D120665

Added: 
    

Modified: 
    llvm/lib/Target/AArch64/AArch64.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AArch64/AArch64.td b/llvm/lib/Target/AArch64/AArch64.td
index 3689f3860cfd4..89209b38e6726 100644
--- a/llvm/lib/Target/AArch64/AArch64.td
+++ b/llvm/lib/Target/AArch64/AArch64.td
@@ -816,8 +816,9 @@ def TuneExynosM3 : SubtargetFeature<"exynosm3", "ARMProcFamily", "ExynosM3",
                                      FeaturePostRAScheduler,
                                      FeaturePredictableSelectIsExpensive]>;
 
-def TuneExynosM4 : SubtargetFeature<"exynosm3", "ARMProcFamily", "ExynosM3",
-                                    "Samsung Exynos-M3 processors",
+// Re-uses some scheduling and tunings from the ExynosM3 proc family.
+def TuneExynosM4 : SubtargetFeature<"exynosm4", "ARMProcFamily", "ExynosM3",
+                                    "Samsung Exynos-M4 processors",
                                     [FeatureArithmeticBccFusion,
                                      FeatureArithmeticCbzFusion,
                                      FeatureExynosCheapAsMoveHandling,


        


More information about the llvm-commits mailing list