From 1ef487d463daa7da7487a9a0294b01ab10f48974 Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Mon, 8 Sep 2014 14:31:49 +0000 Subject: [PATCH] [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 --- lib/Target/AArch64/AArch64Subtarget.h | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.40.0