[llvm] r217540 - [AArch64] Revert r216141 for cyclone

Gerolf Hoflehner ghoflehner at apple.com
Wed Sep 10 13:31:57 PDT 2014


Author: ghoflehner
Date: Wed Sep 10 15:31:57 2014
New Revision: 217540

URL: http://llvm.org/viewvc/llvm-project?rev=217540&view=rev
Log:
[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.


Modified:
    llvm/trunk/lib/Target/AArch64/AArch64TargetTransformInfo.cpp

Modified: llvm/trunk/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64TargetTransformInfo.cpp?rev=217540&r1=217539&r2=217540&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64TargetTransformInfo.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64TargetTransformInfo.cpp Wed Sep 10 15:31:57 2014
@@ -517,7 +517,7 @@ unsigned AArch64TTI::getCostOfKeepingLiv
 }
 
 unsigned AArch64TTI::getMaxInterleaveFactor() const {
-  if (ST->isCortexA57() || ST->isCyclone())
+  if (ST->isCortexA57())
     return 4;
   return 2;
 }





More information about the llvm-commits mailing list