diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2015-01-18 02:11:23 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2015-01-18 02:11:23 +0000 |
commit | b5c115357c6823d357386b6d86714d049695a4f7 (patch) | |
tree | 9a42605a0b250b0e24a3ac436f6f4cf461d93e0e /llvm/lib/Transforms/Scalar/LoopRotation.cpp | |
parent | 94209094a5bfe9e52673982e92fbbfa824d4d146 (diff) | |
download | bcm5719-llvm-b5c115357c6823d357386b6d86714d049695a4f7.tar.gz bcm5719-llvm-b5c115357c6823d357386b6d86714d049695a4f7.zip |
[PM] Replace another Pass argument with specific analyses that are
optionally updated by MergeBlockIntoPredecessors.
No functionality changed, just refactoring to clear the way for the new
pass manager.
llvm-svn: 226392
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopRotation.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/LoopRotation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopRotation.cpp b/llvm/lib/Transforms/Scalar/LoopRotation.cpp index d8d7eab845f..c11510ffd08 100644 --- a/llvm/lib/Transforms/Scalar/LoopRotation.cpp +++ b/llvm/lib/Transforms/Scalar/LoopRotation.cpp @@ -593,7 +593,7 @@ bool LoopRotate::rotateLoop(Loop *L, bool SimplifiedLatch) { // the OrigHeader block into OrigLatch. This will succeed if they are // connected by an unconditional branch. This is just a cleanup so the // emitted code isn't too gross in this common case. - MergeBlockIntoPredecessor(OrigHeader, this); + MergeBlockIntoPredecessor(OrigHeader, DT, LI); DEBUG(dbgs() << "LoopRotation: into "; L->dump()); |