aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorChen Zheng <czhengsz@cn.ibm.com>2022-04-19 03:40:17 -0400
committerChen Zheng <czhengsz@cn.ibm.com>2022-05-24 01:16:19 -0400
commit62a9b36fcf728b104ea87e6eb84c0be69b779df7 (patch)
tree8e7282182a53802561e6c802f03a0dcd9a7a5405 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parent7604c59bd2336ebb34f28de3e6c883abbdd3f7c7 (diff)
downloadllvm-62a9b36fcf728b104ea87e6eb84c0be69b779df7.zip
llvm-62a9b36fcf728b104ea87e6eb84c0be69b779df7.tar.gz
llvm-62a9b36fcf728b104ea87e6eb84c0be69b779df7.tar.bz2
[MachineSink] replace MachineLoop with MachineCycle
MachineCycle can handle irreducible loop. Natural loop analysis (MachineLoop) can not return correct loop depth if the loop is irreducible loop. And MachineSink is sensitive to the loop depth, see MachineSinking::isProfitableToSinkTo(). This patch tries to use MachineCycle so that we can handle irreducible loop better. Reviewed By: sameerds, MatzeB Differential Revision: https://reviews.llvm.org/D123995
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions