summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2021-07-12 13:39:21 +0100
committerDavid Green <david.green@arm.com>2021-07-12 13:39:35 +0100
commitf73334c46d59ffdbf12353932d5985049335a6c7 (patch)
treefc09c611aaf3f09216505ac8e68e622af32f4b97 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent0c6fad233aa7d1e4564b88136702853f58660d05 (diff)
[AArch64] Set the latency of Cortex-A55 stores to 1
This sets the latency of stores to 1 in the Cortex-A55 scheduling model, to better match the values given in the software optimization guide. The latency of a store in normal llvm scheduling does not appear to have a lot of uses. If the store has no outputs then the latency is somewhat meaningless (and pre/post increment update operands use the WriteAdr write for those operands instead). The one place it does alter things is the latency between a store and the end of the scheduling region, which can in turn have an effect on the critical path length. As a result a latency of 1 is more correct and offers ever-so-slightly better scheduling of instructions near the end of the block. They are marked as RetireOOO to keep the llvm-mca from introducing stalls where non would exist. Differential Revision: https://reviews.llvm.org/D105541
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions