mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-12 21:56:41 +00:00
Remove the block from the LoopInfo, rather than just the Loop.
LoopInfo will handle removing it from the Loop, as well as updating its own tables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74398 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4b35f83b91
commit
a1baee20c4
@ -312,7 +312,7 @@ ReprocessLoop:
|
|||||||
// update the dominator tree and dominance frontier, and delete it.
|
// update the dominator tree and dominance frontier, and delete it.
|
||||||
assert(pred_begin(ExitingBlock) == pred_end(ExitingBlock));
|
assert(pred_begin(ExitingBlock) == pred_end(ExitingBlock));
|
||||||
Changed = true;
|
Changed = true;
|
||||||
L->removeBlockFromLoop(ExitingBlock);
|
LI->removeBlock(ExitingBlock);
|
||||||
|
|
||||||
DominanceFrontier *DF = getAnalysisIfAvailable<DominanceFrontier>();
|
DominanceFrontier *DF = getAnalysisIfAvailable<DominanceFrontier>();
|
||||||
DomTreeNode *Node = DT->getNode(ExitingBlock);
|
DomTreeNode *Node = DT->getNode(ExitingBlock);
|
||||||
|
Loading…
Reference in New Issue
Block a user