From 8a6973d6ff94e17bd1780f1dc8c7e1952fc21b34 Mon Sep 17 00:00:00 2001 From: Evandro Menezes Date: Wed, 19 Sep 2018 19:51:29 +0000 Subject: [PATCH] [ARM] Adjust the feature set for Exynos Fine tune the cost model for all Exynos processors. llvm-svn: 342585 --- llvm/lib/Target/ARM/ARMSubtarget.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/llvm/lib/Target/ARM/ARMSubtarget.cpp b/llvm/lib/Target/ARM/ARMSubtarget.cpp index 36701af..10aeeaf 100644 --- a/llvm/lib/Target/ARM/ARMSubtarget.cpp +++ b/llvm/lib/Target/ARM/ARMSubtarget.cpp @@ -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: -- 2.7.4