mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 04:24:00 +00:00
[PM] Lift the analyses into the interface for
SplitLandingPadPredecessors and remove the Pass argument from its interface. Another step to the utilities being usable with both old and new pass managers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226426 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user