summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM
diff options
context:
space:
mode:
authorEvandro Menezes <e.menezes@samsung.com>2018-09-19 19:51:29 +0000
committerEvandro Menezes <e.menezes@samsung.com>2018-09-19 19:51:29 +0000
commit8a6973d6ff94e17bd1780f1dc8c7e1952fc21b34 (patch)
tree6b33b69f772aba77b0a5a4803ce1c7b0e5582b0d /llvm/lib/Target/ARM
parent851a7c9b2b9e4f273f968885bd1df88fcca92d59 (diff)
downloadbcm5719-llvm-8a6973d6ff94e17bd1780f1dc8c7e1952fc21b34.tar.gz
bcm5719-llvm-8a6973d6ff94e17bd1780f1dc8c7e1952fc21b34.zip
[ARM] Adjust the feature set for Exynos
Fine tune the cost model for all Exynos processors. llvm-svn: 342585
Diffstat (limited to 'llvm/lib/Target/ARM')
-rw-r--r--llvm/lib/Target/ARM/ARMSubtarget.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.cpp b/llvm/lib/Target/ARM/ARMSubtarget.cpp
index 36701af3f40..10aeeaf840d 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:
OpenPOWER on IntegriCloud