[AArch64] Enabled AA support for Cortex-A53.
authorChad Rosier <mcrosier@codeaurora.org>
Mon, 8 Sep 2014 14:31:49 +0000 (14:31 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Mon, 8 Sep 2014 14:31:49 +0000 (14:31 +0000)
Patch by Sanjin Sijaric <ssijaric@codeaurora.org>!
Phabricator Review: http://reviews.llvm.org/D5103

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217370 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AArch64/AArch64Subtarget.h

index 3f2ee22acaefb011a55963f12578fa89d61f0ce0..d8f383b39ff056e30fae2942a3762738e4a79750 100644 (file)
@@ -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; }