From: Chad Rosier Date: Mon, 8 Sep 2014 14:31:49 +0000 (+0000) Subject: [AArch64] Enabled AA support for Cortex-A53. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ef487d463daa7da7487a9a0294b01ab10f48974;p=llvm [AArch64] Enabled AA support for Cortex-A53. Patch by Sanjin Sijaric ! Phabricator Review: http://reviews.llvm.org/D5103 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217370 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AArch64/AArch64Subtarget.h b/lib/Target/AArch64/AArch64Subtarget.h index 3f2ee22acae..d8f383b39ff 100644 --- a/lib/Target/AArch64/AArch64Subtarget.h +++ b/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; }