aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorSam Parker <sam.parker@arm.com>2020-02-05 13:20:50 +0000
committerSam Parker <sam.parker@arm.com>2020-02-05 13:21:51 +0000
commit564275289da3bc574fc91148584972ac2d4c21f3 (patch)
treeef9efa06c9710d5172baaee8eb38bed60adea504 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parent4c7f819204d8c52a25cc98a083791ad9db7d1ad9 (diff)
downloadllvm-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