diff options
author | David Green <david.green@arm.com> | 2020-11-10 16:28:57 +0000 |
---|---|---|
committer | David Green <david.green@arm.com> | 2020-11-10 16:28:57 +0000 |
commit | 73a6cd4b6b58184cff1c71cf152b98cc068f544b (patch) | |
tree | 7228ecb8010533cf633026e46dee7accab466ed9 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | def26af4eab0e857edf24b5785b20652a61c5f88 (diff) | |
download | llvm-73a6cd4b6b58184cff1c71cf152b98cc068f544b.zip llvm-73a6cd4b6b58184cff1c71cf152b98cc068f544b.tar.gz llvm-73a6cd4b6b58184cff1c71cf152b98cc068f544b.tar.bz2 |
[ARM] Add a RegAllocHint for hinting t2DoLoopStart towards LR
This hints the operand of a t2DoLoopStart towards using LR, which can
help make it more likely to become t2DLS lr, lr. This makes it easier to
move if needed (as the input is the same as the output), or potentially
remove entirely.
The hint is added after others (from COPY's etc) which still take
precedence. It needed to find a place to add the hint, which currently
uses the post isel custom inserter.
Differential Revision: https://reviews.llvm.org/D89883
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions