[llvm] r217370 - [AArch64] Enabled AA support for Cortex-A53.
    Chad Rosier 
    mcrosier at codeaurora.org
       
    Mon Sep  8 07:31:49 PDT 2014
    
    
  
Author: mcrosier
Date: Mon Sep  8 09:31:49 2014
New Revision: 217370
URL: http://llvm.org/viewvc/llvm-project?rev=217370&view=rev
Log:
[AArch64] Enabled AA support for Cortex-A53.
Patch by Sanjin Sijaric <ssijaric at codeaurora.org>!
Phabricator Review: http://reviews.llvm.org/D5103
Modified:
    llvm/trunk/lib/Target/AArch64/AArch64Subtarget.h
Modified: llvm/trunk/lib/Target/AArch64/AArch64Subtarget.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64Subtarget.h?rev=217370&r1=217369&r2=217370&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64Subtarget.h (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64Subtarget.h Mon Sep  8 09:31:49 2014
@@ -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; }
    
    
More information about the llvm-commits
mailing list