[llvm-commits] CVS: llvm/lib/Transforms/Utils/BasicBlockUtils.cpp PromoteMemoryToRegister.cpp
Misha Brukman
brukman at cs.uiuc.edu
Mon Aug 18 09:35:01 PDT 2003
Changes in directory llvm/lib/Transforms/Utils:
BasicBlockUtils.cpp updated: 1.5 -> 1.6
PromoteMemoryToRegister.cpp updated: 1.41 -> 1.42
---
Log message:
Spell `necessary' correctly.
---
Diffs of the changes:
Index: llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff -u llvm/lib/Transforms/Utils/BasicBlockUtils.cpp:1.5 llvm/lib/Transforms/Utils/BasicBlockUtils.cpp:1.6
--- llvm/lib/Transforms/Utils/BasicBlockUtils.cpp:1.5 Wed Nov 20 12:34:39 2002
+++ llvm/lib/Transforms/Utils/BasicBlockUtils.cpp Mon Aug 18 09:34:00 2003
@@ -23,7 +23,7 @@
std::string OldName = I.getName();
- // Delete the unneccesary instruction now...
+ // Delete the unnecessary instruction now...
BI = BIL.erase(BI);
// Make sure to propagate a name if there is one already...
Index: llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
diff -u llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:1.41 llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:1.42
--- llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp:1.41 Thu Apr 24 19:54:58 2003
+++ llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp Mon Aug 18 09:34:00 2003
@@ -202,7 +202,7 @@
// correct number of entries for their predecessors.
Value *NullVal = Constant::getNullValue(PN->getType());
- // This is neccesary because adding incoming values to the PHI node adds uses
+ // This is necessary because adding incoming values to the PHI node adds uses
// to the basic blocks being used, which can invalidate the predecessor
// iterator!
std::vector<BasicBlock*> Preds(pred_begin(BB), pred_end(BB));
More information about the llvm-commits
mailing list