[ARM] Adjust the cost model for Exynos
authorEvandro Menezes <e.menezes@samsung.com>
Mon, 24 Sep 2018 16:35:14 +0000 (16:35 +0000)
committerEvandro Menezes <e.menezes@samsung.com>
Mon, 24 Sep 2018 16:35:14 +0000 (16:35 +0000)
Tune `MaxInterleaveFactor` and `LdStMultipleTiming`and remove
`PartialUpdateClearance` for the Exynos processors.

llvm-svn: 342900

llvm/lib/Target/ARM/ARMSubtarget.cpp

index 10aeeaf..1c17b63 100644 (file)
@@ -289,8 +289,8 @@ void ARMSubtarget::initSubtargetFeatures(StringRef CPU, StringRef FS) {
   case CortexR52:
     break;
   case Exynos:
-    MaxInterleaveFactor = 2;
-    PartialUpdateClearance = 12;
+    LdStMultipleTiming = SingleIssuePlusExtras;
+    MaxInterleaveFactor = 4;
     if (!isThumb())
       PrefLoopAlignment = 3;
     break;