[llvm-commits] CVS: llvm/lib/Transforms/Utils/BasicBlockUtils.cpp BreakCriticalEdges.cpp CloneModule.cpp Linker.cpp SimplifyCFG.cpp

Misha Brukman brukman at cs.uiuc.edu
Fri Oct 10 12:52:09 PDT 2003


Changes in directory llvm/lib/Transforms/Utils:

BasicBlockUtils.cpp updated: 1.6 -> 1.7
BreakCriticalEdges.cpp updated: 1.9 -> 1.10
CloneModule.cpp updated: 1.5 -> 1.6
Linker.cpp updated: 1.54 -> 1.55
SimplifyCFG.cpp updated: 1.15 -> 1.16

---
Log message:

Fix spelling.


---
Diffs of the changes:  (+9 -9)

Index: llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff -u llvm/lib/Transforms/Utils/BasicBlockUtils.cpp:1.6 llvm/lib/Transforms/Utils/BasicBlockUtils.cpp:1.7
--- llvm/lib/Transforms/Utils/BasicBlockUtils.cpp:1.6	Mon Aug 18 09:34:00 2003
+++ llvm/lib/Transforms/Utils/BasicBlockUtils.cpp	Fri Oct 10 12:51:20 2003
@@ -64,7 +64,7 @@
 // degree of the current basic block, the actual terminator instruction itself
 // may have to be changed.  In the case where the last successor of the block is
 // deleted, a return instruction is inserted in its place which can cause a
-// suprising change in program behavior if it is not expected.
+// surprising change in program behavior if it is not expected.
 //
 void RemoveSuccessor(TerminatorInst *TI, unsigned SuccNum) {
   assert(SuccNum < TI->getNumSuccessors() &&


Index: llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp
diff -u llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp:1.9 llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp:1.10
--- llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp:1.9	Wed Apr 23 11:37:43 2003
+++ llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp	Fri Oct 10 12:51:20 2003
@@ -106,7 +106,7 @@
     DS->addBasicBlock(NewBB, DomSet);
   }
 
-  // Should we update ImmdediateDominator information?
+  // Should we update ImmediateDominator information?
   if (ImmediateDominators *ID = P->getAnalysisToUpdate<ImmediateDominators>()) {
     // TIBB is the new immediate dominator for NewBB.  NewBB doesn't dominate
     // anything.


Index: llvm/lib/Transforms/Utils/CloneModule.cpp
diff -u llvm/lib/Transforms/Utils/CloneModule.cpp:1.5 llvm/lib/Transforms/Utils/CloneModule.cpp:1.6
--- llvm/lib/Transforms/Utils/CloneModule.cpp:1.5	Thu Apr 24 12:15:33 2003
+++ llvm/lib/Transforms/Utils/CloneModule.cpp	Fri Oct 10 12:51:20 2003
@@ -14,7 +14,7 @@
 
 /// CloneModule - Return an exact copy of the specified module.  This is not as
 /// easy as it might seem because we have to worry about making copies of global
-/// variables and functions, and making their (intializers and references,
+/// variables and functions, and making their (initializers and references,
 /// respectively) refer to the right globals.
 ///
 Module *CloneModule(const Module *M) {


Index: llvm/lib/Transforms/Utils/Linker.cpp
diff -u llvm/lib/Transforms/Utils/Linker.cpp:1.54 llvm/lib/Transforms/Utils/Linker.cpp:1.55
--- llvm/lib/Transforms/Utils/Linker.cpp:1.54	Thu Aug 28 11:42:50 2003
+++ llvm/lib/Transforms/Utils/Linker.cpp	Fri Oct 10 12:51:20 2003
@@ -151,9 +151,9 @@
   SymbolTable::const_iterator PI = SrcST->find(Type::TypeTy);
   if (PI == SrcST->end()) return false;  // No named types, do nothing.
 
-  // Some types cannot be resolved immediately becuse they depend on other types
-  // being resolved to each other first.  This contains a list of types we are
-  // waiting to recheck.
+  // Some types cannot be resolved immediately because they depend on other
+  // types being resolved to each other first.  This contains a list of types we
+  // are waiting to recheck.
   std::vector<std::string> DelayedTypesToResolve;
 
   const SymbolTable::VarMap &VM = PI->second;


Index: llvm/lib/Transforms/Utils/SimplifyCFG.cpp
diff -u llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.15 llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.16
--- llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.15	Mon Sep  8 14:44:25 2003
+++ llvm/lib/Transforms/Utils/SimplifyCFG.cpp	Fri Oct 10 12:51:20 2003
@@ -19,7 +19,7 @@
 // have extra slots added to them to hold the merge edges from BB's
 // predecessors, and BB itself might have had PHI nodes in it.  This function
 // returns true (failure) if the Succ BB already has a predecessor that is a
-// predecessor of BB and incoming PHI arguments would not be discernable.
+// predecessor of BB and incoming PHI arguments would not be discernible.
 //
 // Assumption: Succ is the single successor for BB.
 //
@@ -269,10 +269,10 @@
       // Delete the unconditional branch from the predecessor...
       OnlyPred->getInstList().pop_back();
       
-      // Move all definitions in the succecessor to the predecessor...
+      // Move all definitions in the successor to the predecessor...
       OnlyPred->getInstList().splice(OnlyPred->end(), BB->getInstList());
                                      
-      // Make all PHI nodes that refered to BB now refer to Pred as their
+      // Make all PHI nodes that referred to BB now refer to Pred as their
       // source...
       BB->replaceAllUsesWith(OnlyPred);
 





More information about the llvm-commits mailing list