[llvm-branch-commits] [llvm-branch] r155834 - /llvm/branches/release_31/lib/Transforms/Utils/BreakCriticalEdges.cpp

Bill Wendling isanbard at gmail.com
Mon Apr 30 10:58:59 PDT 2012


Author: void
Date: Mon Apr 30 12:58:59 2012
New Revision: 155834

URL: http://llvm.org/viewvc/llvm-project?rev=155834&view=rev
Log:
Rename to match coding conventions.

Modified:
    llvm/branches/release_31/lib/Transforms/Utils/BreakCriticalEdges.cpp

Modified: llvm/branches/release_31/lib/Transforms/Utils/BreakCriticalEdges.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_31/lib/Transforms/Utils/BreakCriticalEdges.cpp?rev=155834&r1=155833&r2=155834&view=diff
==============================================================================
--- llvm/branches/release_31/lib/Transforms/Utils/BreakCriticalEdges.cpp (original)
+++ llvm/branches/release_31/lib/Transforms/Utils/BreakCriticalEdges.cpp Mon Apr 30 12:58:59 2012
@@ -117,12 +117,12 @@
   return false;
 }
 
-/// CreatePHIsForSplitLoopExit - When a loop exit edge is split, LCSSA form
+/// createPHIsForSplitLoopExit - When a loop exit edge is split, LCSSA form
 /// may require new PHIs in the new exit block. This function inserts the
 /// new PHIs, as needed. Preds is a list of preds inside the loop, SplitBB
 /// is the new loop exit block, and DestBB is the old loop exit, now the
 /// successor of SplitBB.
-static void CreatePHIsForSplitLoopExit(SmallVectorImpl<BasicBlock *> &Preds,
+static void createPHIsForSplitLoopExit(SmallVectorImpl<BasicBlock *> &Preds,
                                        BasicBlock *SplitBB,
                                        BasicBlock *DestBB) {
   // SplitBB shouldn't have anything non-trivial in it yet.
@@ -344,7 +344,7 @@
         if (P->mustPreserveAnalysisID(LCSSAID)) {
           SmallVector<BasicBlock *, 1> OrigPred;
           OrigPred.push_back(TIBB);
-          CreatePHIsForSplitLoopExit(OrigPred, NewBB, DestBB);
+          createPHIsForSplitLoopExit(OrigPred, NewBB, DestBB);
         }
 
         // For each unique exit block...





More information about the llvm-branch-commits mailing list