summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerolf Hoflehner <ghoflehner@apple.com>2014-09-10 20:31:57 +0000
committerGerolf Hoflehner <ghoflehner@apple.com>2014-09-10 20:31:57 +0000
commit7b0abb89c2bfb3a91d7953a3628a243b997c84b6 (patch)
treedf336fec2d3c8a2fc57d501f37b115d628f14e58
parent008e5cdcbaa0de97adfd9a470d93323bf820b3f9 (diff)
downloadbcm5719-llvm-7b0abb89c2bfb3a91d7953a3628a243b997c84b6.tar.gz
bcm5719-llvm-7b0abb89c2bfb3a91d7953a3628a243b997c84b6.zip
[AArch64] Revert r216141 for cyclone
The increase of the interleave factor to 4 has side-effects like performance losses eg. due to reminder loops being executed more frequently and may increase code size. It requires more analysis and careful heuristic tuning. Expect double digit gains in small benchmarks like lowercase.c and losses in puzzle.c. llvm-svn: 217540
-rw-r--r--llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp b/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
index d2438d34ccf..abae09ba740 100644
--- a/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+++ b/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
@@ -517,7 +517,7 @@ unsigned AArch64TTI::getCostOfKeepingLiveOverCall(ArrayRef<Type*> Tys) const {
}
unsigned AArch64TTI::getMaxInterleaveFactor() const {
- if (ST->isCortexA57() || ST->isCyclone())
+ if (ST->isCortexA57())
return 4;
return 2;
}
OpenPOWER on IntegriCloud