summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorHao Liu <Hao.Liu@arm.com>2014-11-19 06:48:56 +0000
committerHao Liu <Hao.Liu@arm.com>2014-11-19 06:48:56 +0000
commit2aa06a989dfef2950ab45da80dd9c1adadd9f9a2 (patch)
tree9f673d7d862fc8e060b156446c63465cec1c3659 /llvm/lib
parentdc23dad2b7cd83f42fd9617cd9e9d73cbcf66957 (diff)
downloadbcm5719-llvm-2aa06a989dfef2950ab45da80dd9c1adadd9f9a2.tar.gz
bcm5719-llvm-2aa06a989dfef2950ab45da80dd9c1adadd9f9a2.zip
[AArch64] Disable useAA for Cortex-A57.
Using AA during CodeGen is very useful for in-order cores. It is less useful for ooo cores. Also I find enabling useAA for Cortex-A57 may generate worse code for some test cases. If useAA in codegen is improved and benefical for ooo cores, we can enable it again. llvm-svn: 222333
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/AArch64/AArch64Subtarget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64Subtarget.h b/llvm/lib/Target/AArch64/AArch64Subtarget.h
index 06bd3698c6a..e2740f137c2 100644
--- a/llvm/lib/Target/AArch64/AArch64Subtarget.h
+++ b/llvm/lib/Target/AArch64/AArch64Subtarget.h
@@ -115,7 +115,7 @@ public:
bool isCortexA57() const { return CPUString == "cortex-a57"; }
bool isCortexA53() const { return CPUString == "cortex-a53"; }
- bool useAA() const override { return isCortexA53() || isCortexA57(); }
+ bool useAA() const override { return isCortexA53(); }
/// getMaxInlineSizeThreshold - Returns the maximum memset / memcpy size
/// that still makes it profitable to inline the call.
OpenPOWER on IntegriCloud