Remove the SplitCriticalEdge() method declaration from PHIElimination.h. At one
authorCameron Zwarich <zwarich@apple.com>
Sun, 5 Dec 2010 19:54:23 +0000 (19:54 +0000)
committerCameron Zwarich <zwarich@apple.com>
Sun, 5 Dec 2010 19:54:23 +0000 (19:54 +0000)
time, this method existed, but now PHIElimination uses the method of the same
name on MachineBasicBlock.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120952 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/PHIElimination.h

index 60effc2176227dc8fb7d3a2a7007052563cb28ef..3f593898e1a1cee5a8f12221fe52ba07a4fac43b 100644 (file)
@@ -55,12 +55,6 @@ namespace llvm {
     bool SplitPHIEdges(MachineFunction &MF, MachineBasicBlock &MBB,
                        LiveVariables &LV, MachineLoopInfo *MLI);
 
-    /// SplitCriticalEdge - Split a critical edge from A to B by
-    /// inserting a new MBB. Update branches in A and PHI instructions
-    /// in B. Return the new block.
-    MachineBasicBlock *SplitCriticalEdge(MachineBasicBlock *A,
-                                         MachineBasicBlock *B);
-
     /// FindCopyInsertPoint - Find a safe place in MBB to insert a copy from
     /// SrcReg when following the CFG edge to SuccMBB. This needs to be after
     /// any def of SrcReg, but before any subsequent point where control flow