diff options
author | Sam Parker <sam.parker@arm.com> | 2020-02-05 13:20:50 +0000 |
---|---|---|
committer | Sam Parker <sam.parker@arm.com> | 2020-02-05 13:21:51 +0000 |
commit | 564275289da3bc574fc91148584972ac2d4c21f3 (patch) | |
tree | ef9efa06c9710d5172baaee8eb38bed60adea504 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 4c7f819204d8c52a25cc98a083791ad9db7d1ad9 (diff) | |
download | llvm-564275289da3bc574fc91148584972ac2d4c21f3.zip llvm-564275289da3bc574fc91148584972ac2d4c21f3.tar.gz llvm-564275289da3bc574fc91148584972ac2d4c21f3.tar.bz2 |
[ARM][LowOverheadLoops] Fix loop count chain
Checking that the use-def chain that performs the loop count
isSafeToRemove is not sufficient because it means that we can
remove register copies that we need to restore lr to its correct
value. This change now prevents the transform from kicking in for the
'remove-elem-moves' test which needs to addressed later on.
Differential Revision: https://reviews.llvm.org/D74037
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions