[PM] Replace another Pass argument with specific analyses that are
[oota-llvm.git] / lib / Transforms / Scalar / LoopRotation.cpp
index d8d7eab845fe1e66d55f9c79aacd608f664c249e..c11510ffd083c312e25034204aeda6d90c91b953 100644 (file)
@@ -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());