commit | a9bfe02006d71093b948a6e5144a7d19d164462b | [log] [tgz] |
---|---|---|
author | David Green <david.green@arm.com> | Sun Apr 01 12:48:24 2018 +0000 |
committer | David Green <david.green@arm.com> | Sun Apr 01 12:48:24 2018 +0000 |
tree | e14adabb487309dd1ad7bf8dfd42f596f256dc15 | |
parent | 879ec9492f677c86be7336a70a4219e11035089b [diff] |
[LoopRotate] Rotate loops with loop exiting latches If a loop has a loop exiting latch, it can be profitable to rotate the loop if it leads to the simplification of a phi node. Perform rotation in these cases even if loop rotate itself didnt simplify the loop to get there. Differential Revision: https://reviews.llvm.org/D44199 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328933 91177308-0d34-0410-b5e6-96231b3b80d8