mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Minor cleanups and simplifications
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10127 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -106,7 +106,7 @@ bool SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum, Pass *P) {
|
||||
BasicBlock *NewBB = new BasicBlock(TIBB->getName() + "." +
|
||||
DestBB->getName() + "_crit_edge");
|
||||
// Create our unconditional branch...
|
||||
new BranchInst(DestBB, 0, 0, NewBB);
|
||||
new BranchInst(DestBB, NewBB);
|
||||
|
||||
// Branch to the new block, breaking the edge...
|
||||
TI->setSuccessor(SuccNum, NewBB);
|
||||
|
Reference in New Issue
Block a user