diff options
author | Florian Hahn <florian.hahn@arm.com> | 2018-09-26 19:34:25 +0000 |
---|---|---|
committer | Florian Hahn <florian.hahn@arm.com> | 2018-09-26 19:34:25 +0000 |
commit | 6feb637124e5bf5a3bb45c1b2106d622b93e7c28 (patch) | |
tree | ca308325099cf164a112bd309bfdf4bd7d41e347 /llvm/lib/CodeGen/MachineCopyPropagation.cpp | |
parent | 79c88c31056fc52f8414c497f2d6e2e53749c48b (diff) | |
download | llvm-6feb637124e5bf5a3bb45c1b2106d622b93e7c28.zip llvm-6feb637124e5bf5a3bb45c1b2106d622b93e7c28.tar.gz llvm-6feb637124e5bf5a3bb45c1b2106d622b93e7c28.tar.bz2 |
[LoopInterchange] Preserve LCSSA.
This patch extends LoopInterchange to move LCSSA to the right place
after interchanging. This is required for LoopInterchange to become a
function pass.
An alternative to the manual moving of the PHIs, we could also re-form
the LCSSA phis for a set of interchanged loops, but that's more
expensive.
Reviewers: efriedma, mcrosier, davide
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D52154
llvm-svn: 343132
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions