[AArch64] Revert r216141 for cyclone
authorGerolf Hoflehner <ghoflehner@apple.com>
Wed, 10 Sep 2014 20:31:57 +0000 (20:31 +0000)
committerGerolf Hoflehner <ghoflehner@apple.com>
Wed, 10 Sep 2014 20:31:57 +0000 (20:31 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217540 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AArch64/AArch64TargetTransformInfo.cpp

index d2438d34ccfe898e7bc675da1511cd8f9c931f33..abae09ba74062acdcf61b4c74d5a8e43fcef51c6 100644 (file)
@@ -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;
 }