Skip to content

Commit c70ebff

Browse files
committed
Rename to match coding conventions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_31@155834 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 458cf3e commit c70ebff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/Transforms/Utils/BreakCriticalEdges.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,12 @@ bool llvm::isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum,
117117
return false;
118118
}
119119

120-
/// CreatePHIsForSplitLoopExit - When a loop exit edge is split, LCSSA form
120+
/// createPHIsForSplitLoopExit - When a loop exit edge is split, LCSSA form
121121
/// may require new PHIs in the new exit block. This function inserts the
122122
/// new PHIs, as needed. Preds is a list of preds inside the loop, SplitBB
123123
/// is the new loop exit block, and DestBB is the old loop exit, now the
124124
/// successor of SplitBB.
125-
static void CreatePHIsForSplitLoopExit(SmallVectorImpl<BasicBlock *> &Preds,
125+
static void createPHIsForSplitLoopExit(SmallVectorImpl<BasicBlock *> &Preds,
126126
BasicBlock *SplitBB,
127127
BasicBlock *DestBB) {
128128
// SplitBB shouldn't have anything non-trivial in it yet.
@@ -344,7 +344,7 @@ BasicBlock *llvm::SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum,
344344
if (P->mustPreserveAnalysisID(LCSSAID)) {
345345
SmallVector<BasicBlock *, 1> OrigPred;
346346
OrigPred.push_back(TIBB);
347-
CreatePHIsForSplitLoopExit(OrigPred, NewBB, DestBB);
347+
createPHIsForSplitLoopExit(OrigPred, NewBB, DestBB);
348348
}
349349

350350
// For each unique exit block...

0 commit comments

Comments
 (0)