From c9f947744df63449c170def213e32c29edae3206 Mon Sep 17 00:00:00 2001 From: Chad Rosier <mcrosier@codeaurora.org> Date: Mon, 8 Sep 2014 14:31:49 +0000 Subject: [PATCH] [AArch64] Enabled AA support for Cortex-A53. Patch by Sanjin Sijaric <ssijaric@codeaurora.org>! Phabricator Review: http://reviews.llvm.org/D5103 llvm-svn: 217370 --- llvm/lib/Target/AArch64/AArch64Subtarget.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/lib/Target/AArch64/AArch64Subtarget.h b/llvm/lib/Target/AArch64/AArch64Subtarget.h index 3f2ee22acaef..d8f383b39ff0 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; }