From: Gerolf Hoflehner Date: Wed, 10 Sep 2014 20:31:57 +0000 (+0000) Subject: [AArch64] Revert r216141 for cyclone X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e7648ae68d4341215b80e50edd89b4458cba1d26;p=oota-llvm.git [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217540 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AArch64/AArch64TargetTransformInfo.cpp b/lib/Target/AArch64/AArch64TargetTransformInfo.cpp index d2438d34ccf..abae09ba740 100644 --- a/lib/Target/AArch64/AArch64TargetTransformInfo.cpp +++ b/lib/Target/AArch64/AArch64TargetTransformInfo.cpp @@ -517,7 +517,7 @@ unsigned AArch64TTI::getCostOfKeepingLiveOverCall(ArrayRef Tys) const { } unsigned AArch64TTI::getMaxInterleaveFactor() const { - if (ST->isCortexA57() || ST->isCyclone()) + if (ST->isCortexA57()) return 4; return 2; }