From e7648ae68d4341215b80e50edd89b4458cba1d26 Mon Sep 17 00:00:00 2001 From: Gerolf Hoflehner Date: Wed, 10 Sep 2014 20:31:57 +0000 Subject: [PATCH] [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 --- lib/Target/AArch64/AArch64TargetTransformInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.34.1