summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@codeaurora.org>2014-09-08 14:31:49 +0000
committerChad Rosier <mcrosier@codeaurora.org>2014-09-08 14:31:49 +0000
commitc9f947744df63449c170def213e32c29edae3206 (patch)
tree167916e9566af09e268a2145610965173d44cfe9 /llvm/lib/Target
parent044ade85491f66f087c94e9c46bc8d62fdef9fbb (diff)
downloadbcm5719-llvm-c9f947744df63449c170def213e32c29edae3206.tar.gz
bcm5719-llvm-c9f947744df63449c170def213e32c29edae3206.zip
[AArch64] Enabled AA support for Cortex-A53.
Patch by Sanjin Sijaric <ssijaric@codeaurora.org>! Phabricator Review: http://reviews.llvm.org/D5103 llvm-svn: 217370
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/AArch64/AArch64Subtarget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64Subtarget.h b/llvm/lib/Target/AArch64/AArch64Subtarget.h
index 3f2ee22acae..d8f383b39ff 100644
--- a/llvm/lib/Target/AArch64/AArch64Subtarget.h
+++ b/llvm/lib/Target/AArch64/AArch64Subtarget.h
@@ -111,6 +111,8 @@ public:
bool isCortexA57() const { return CPUString == "cortex-a57"; }
bool isCortexA53() const { return CPUString == "cortex-a53"; }
+ bool useAA() const override { return isCortexA53(); }
+
/// getMaxInlineSizeThreshold - Returns the maximum memset / memcpy size
/// that still makes it profitable to inline the call.
unsigned getMaxInlineSizeThreshold() const { return 64; }
OpenPOWER on IntegriCloud