[PM] Lift the analyses into the interface for
[oota-llvm.git] / lib / Transforms / Scalar / LoopStrengthReduce.cpp
index 250185cd3719d6505ea9ae398d222fa06e62bb52..629b0a2b3b005e6a10d69b5f6ae454ca958b26c9 100644 (file)
@@ -4733,7 +4733,8 @@ void LSRInstance::RewriteForPHI(PHINode *PN,
                                       /*DontDeleteUselessPhis=*/true);
           } else {
             SmallVector<BasicBlock*, 2> NewBBs;
-            SplitLandingPadPredecessors(Parent, BB, "", "", P, NewBBs);
+            SplitLandingPadPredecessors(Parent, BB, "", "", NewBBs,
+                                        /*AliasAnalysis*/ nullptr, &DT, &LI);
             NewBB = NewBBs[0];
           }
           // If NewBB==NULL, then SplitCriticalEdge refused to split because all