[PM] Lift the analyses into the interface for
[oota-llvm.git] / lib / Transforms / Utils / LoopUnrollRuntime.cpp
index 82b4f0922a2786dce27694cbd1daa5a1efcb5459..2a8c20d6b1f8056d0de474da40b0ece50cc53aef 100644 (file)
@@ -125,7 +125,8 @@ static void ConnectProlog(Loop *L, Value *TripCount, unsigned Count,
   } else {
     SmallVector<BasicBlock*, 2> NewBBs;
     SplitLandingPadPredecessors(Exit, Preds, ".unr1-lcssa", ".unr2-lcssa",
-                                P, NewBBs);
+                                NewBBs, AA, DT, LI,
+                                P->mustPreserveAnalysisID(LCSSAID));
   }
   // Add the branch to the exit block (around the unrolled loop)
   BranchInst::Create(Exit, NewPH, BrLoopExit, InsertPt);