diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-10-10 17:57:28 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-10-10 17:57:28 +0000 |
commit | cf00c4ab3ba308d45d98c5ccab87362cf802facb (patch) | |
tree | ba6836d8bf430b9b2fb55ad5fd6d2a02f18a9f32 /lib/Transforms/Utils | |
parent | 452fea997232437902385e88366482b01957eeef (diff) | |
download | external_llvm-cf00c4ab3ba308d45d98c5ccab87362cf802facb.zip external_llvm-cf00c4ab3ba308d45d98c5ccab87362cf802facb.tar.gz external_llvm-cf00c4ab3ba308d45d98c5ccab87362cf802facb.tar.bz2 |
Fix spelling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils')
-rw-r--r-- | lib/Transforms/Utils/BasicBlockUtils.cpp | 2 | ||||
-rw-r--r-- | lib/Transforms/Utils/BreakCriticalEdges.cpp | 2 | ||||
-rw-r--r-- | lib/Transforms/Utils/CloneModule.cpp | 2 | ||||
-rw-r--r-- | lib/Transforms/Utils/Linker.cpp | 6 | ||||
-rw-r--r-- | lib/Transforms/Utils/LoopSimplify.cpp | 4 | ||||
-rw-r--r-- | lib/Transforms/Utils/SimplifyCFG.cpp | 6 |
6 files changed, 11 insertions, 11 deletions
diff --git a/lib/Transforms/Utils/BasicBlockUtils.cpp b/lib/Transforms/Utils/BasicBlockUtils.cpp index 0f0f14a..d5f7f1f 100644 --- a/lib/Transforms/Utils/BasicBlockUtils.cpp +++ b/lib/Transforms/Utils/BasicBlockUtils.cpp @@ -64,7 +64,7 @@ void ReplaceInstWithInst(Instruction *From, Instruction *To) { // 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() && diff --git a/lib/Transforms/Utils/BreakCriticalEdges.cpp b/lib/Transforms/Utils/BreakCriticalEdges.cpp index a87dbce..e37b307 100644 --- a/lib/Transforms/Utils/BreakCriticalEdges.cpp +++ b/lib/Transforms/Utils/BreakCriticalEdges.cpp @@ -106,7 +106,7 @@ void SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum, Pass *P) { 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. diff --git a/lib/Transforms/Utils/CloneModule.cpp b/lib/Transforms/Utils/CloneModule.cpp index 93bed75..2a7d1ed 100644 --- a/lib/Transforms/Utils/CloneModule.cpp +++ b/lib/Transforms/Utils/CloneModule.cpp @@ -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) { diff --git a/lib/Transforms/Utils/Linker.cpp b/lib/Transforms/Utils/Linker.cpp index 81d46ca..aa9a8fc 100644 --- a/lib/Transforms/Utils/Linker.cpp +++ b/lib/Transforms/Utils/Linker.cpp @@ -151,9 +151,9 @@ static bool LinkTypes(Module *Dest, const Module *Src, std::string *Err) { 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; diff --git a/lib/Transforms/Utils/LoopSimplify.cpp b/lib/Transforms/Utils/LoopSimplify.cpp index 56b63f3..3c77b01 100644 --- a/lib/Transforms/Utils/LoopSimplify.cpp +++ b/lib/Transforms/Utils/LoopSimplify.cpp @@ -13,7 +13,7 @@ // as store-sinking that are built into LICM. // // Note that the simplifycfg pass will clean up blocks which are split out but -// end up being unnecessary, so usage of this pass does not neccesarily +// end up being unnecessary, so usage of this pass does not necessarily // pessimize generated code. // //===----------------------------------------------------------------------===// @@ -203,7 +203,7 @@ void Preheaders::InsertPreheaderForLoop(Loop *L) { SplitBlockPredecessors(Header, ".preheader", OutsideBlocks); //===--------------------------------------------------------------------===// - // Update analysis results now that we have preformed the transformation + // Update analysis results now that we have performed the transformation // // We know that we have loop information to update... update it now. diff --git a/lib/Transforms/Utils/SimplifyCFG.cpp b/lib/Transforms/Utils/SimplifyCFG.cpp index 1d5e4ec..305fbd8 100644 --- a/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/lib/Transforms/Utils/SimplifyCFG.cpp @@ -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 @@ bool SimplifyCFG(BasicBlock *BB) { // 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); |