mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 03:24:09 +00:00
[PM] Replace the Pass argument to SplitEdge with specific analyses used
and updated. This may appear to remove handling for things like alias analysis when splitting critical edges here, but in fact no callers of SplitEdge relied on this. Similarly, all of them wanted to preserve LCSSA if there was any update of the loop info. That makes the interface much simpler. With this, all of BasicBlockUtils.h is free of Pass arguments and prepared for the new pass manager. This is tho majority of utilities that relied on pass arguments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226459 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1532,7 +1532,7 @@ void DFSanVisitor::visitCallSite(CallSite CS) {
|
||||
Next = II->getNormalDest()->begin();
|
||||
} else {
|
||||
BasicBlock *NewBB =
|
||||
SplitEdge(II->getParent(), II->getNormalDest(), &DFSF.DFS);
|
||||
SplitEdge(II->getParent(), II->getNormalDest(), &DFSF.DT);
|
||||
Next = NewBB->begin();
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user