[llvm-commits] [llvm] r120952 - /llvm/trunk/lib/CodeGen/PHIElimination.h

Cameron Zwarich zwarich at apple.com
Sun Dec 5 11:54:23 PST 2010


Author: zwarich
Date: Sun Dec  5 13:54:23 2010
New Revision: 120952

URL: http://llvm.org/viewvc/llvm-project?rev=120952&view=rev
Log:
Remove the SplitCriticalEdge() method declaration from PHIElimination.h. At one
time, this method existed, but now PHIElimination uses the method of the same
name on MachineBasicBlock.

Modified:
    llvm/trunk/lib/CodeGen/PHIElimination.h

Modified: llvm/trunk/lib/CodeGen/PHIElimination.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PHIElimination.h?rev=120952&r1=120951&r2=120952&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/PHIElimination.h (original)
+++ llvm/trunk/lib/CodeGen/PHIElimination.h Sun Dec  5 13:54:23 2010
@@ -55,12 +55,6 @@
     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





More information about the llvm-commits mailing list