[ARM] Adjust the feature set for Exynos
authorEvandro Menezes <e.menezes@samsung.com>
Wed, 19 Sep 2018 19:51:29 +0000 (19:51 +0000)
committerEvandro Menezes <e.menezes@samsung.com>
Wed, 19 Sep 2018 19:51:29 +0000 (19:51 +0000)
Fine tune the cost model for all Exynos processors.

llvm-svn: 342585

llvm/lib/Target/ARM/ARMSubtarget.cpp

index 36701af..10aeeaf 100644 (file)
@@ -287,7 +287,13 @@ void ARMSubtarget::initSubtargetFeatures(StringRef CPU, StringRef FS) {
   case CortexR7:
   case CortexM3:
   case CortexR52:
+    break;
   case Exynos:
+    MaxInterleaveFactor = 2;
+    PartialUpdateClearance = 12;
+    if (!isThumb())
+      PrefLoopAlignment = 3;
+    break;
   case Kryo:
     break;
   case Krait: