[AArch64] Sets the preferred function alignment for Cortex-A53/A55.
authorStelios Ioannou <stelios.ioannou@arm.com>
Fri, 30 Apr 2021 16:55:35 +0000 (17:55 +0100)
committerStelios Ioannou <stelios.ioannou@arm.com>
Sun, 2 May 2021 23:00:10 +0000 (00:00 +0100)
commit36a44dfd95d88fc13ce45b8d202ab05ff7641d23
treec8715f0e223dcf57b1a10d050a8414545fce4781
parent6430430958928099cf38afe588000dcff2b3fb0b
[AArch64] Sets the preferred function alignment for Cortex-A53/A55.

Setting the preffered function alignment to 16 for Cortex A53/A55
improves performance in a wide range of benchmarks. This brings it
in line with the Cortex-A53/A55 tuning that is used in GCC
(gcc/config/aarch64/aarch64.c).

Differential Revision: https://reviews.llvm.org/D101636

Change-Id: I2ce47fe7ab5e3b54f49c89038d8da4e404742de2
llvm/lib/Target/AArch64/AArch64Subtarget.cpp
llvm/test/CodeGen/AArch64/preferred-function-alignment.ll