From 2225dd81e91a24a8d61cac935dee237c7d5da2ed Mon Sep 17 00:00:00 2001 From: Cameron Zwarich Date: Sun, 5 Dec 2010 19:54:23 +0000 Subject: [PATCH] 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120952 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/PHIElimination.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/CodeGen/PHIElimination.h b/lib/CodeGen/PHIElimination.h index 60effc21762..3f593898e1a 100644 --- a/lib/CodeGen/PHIElimination.h +++ b/lib/CodeGen/PHIElimination.h @@ -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