- Rename BreakCriticalEdge to the slightly more standard SplitCriticalEdge
authorChris Lattner <sabre@nondot.org>
Fri, 6 Sep 2002 02:35:11 +0000 (02:35 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 6 Sep 2002 02:35:11 +0000 (02:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3587 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/Utils/Local.h

index fb26db6685648638ce8f34e0eafd4cb0a2d945b2..596bb52c19223dd183366382a25ce549f6f49763 100644 (file)
@@ -68,10 +68,11 @@ bool SimplifyCFG(BasicBlock *BB);
 ///
 bool isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum);
 
-/// BreakCriticalEdge - Insert a new node node to split the critical edge.  This
-/// will update DominatorSet and DominatorTree information if it is available,
-/// thus calling this pass will not invalidate either of them.
+/// SplitCriticalEdge - Insert a new node node to split the critical edge.  This
+/// will update DominatorSet, ImmediateDominator and DominatorTree information
+/// if it is available, thus calling this pass will not invalidate either of
+/// them.
 ///
-void BreakCriticalEdge(TerminatorInst *TI, unsigned SuccNum, Pass *P = 0);
+void SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum, Pass *P = 0);
 
 #endif