aboutsummaryrefslogtreecommitdiff
path: root/polly/test
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-26 06:45:23 -0400
commitd79275238f9fb11fac31d42a846fe80fca2306d9 (patch)
treef18f21c0a46c6af68144296e4374438c7c2de488 /polly/test
parentad1d60c3befd606d6864b367f939238e50fb0f7e (diff)
downloadllvm-d79275238f9fb11fac31d42a846fe80fca2306d9.zip
llvm-d79275238f9fb11fac31d42a846fe80fca2306d9.tar.gz
llvm-d79275238f9fb11fac31d42a846fe80fca2306d9.tar.bz2
[MachineSink] replace MachineLoop with MachineCycle
reapply 62a9b36fcf728b104ea87e6eb84c0be69b779df7 and fix module build failue: 1: remove MachineCycleInfoWrapperPass in MachinePassRegistry.def MachineCycleInfoWrapperPass is a anylysis pass, should not be there. 2: move the definition for MachineCycleInfoPrinterPass to cpp file. Otherwise, there are module conflicit for MachineCycleInfoWrapperPass in MachinePassRegistry.def and MachineCycleAnalysis.h after 62a9b36fcf728b104ea87e6eb84c0be69b779df7. 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 'polly/test')
0 files changed, 0 insertions, 0 deletions