[llvm] r217370 - [AArch64] Enabled AA support for Cortex-A53.

James Molloy james at jamesmolloy.co.uk
Mon Sep 8 08:03:16 PDT 2014


Hi Chad,

Could we get this enabled for A57 too please? There were no regressions
seen, and I think it has the potential to enable future optimizations.

Cheers,

James

On 8 September 2014 15:31, Chad Rosier <mcrosier at codeaurora.org> wrote:

> 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; }
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140908/3992a221/attachment.html>


More information about the llvm-commits mailing list