[llvm-commits] CVS: llvm/lib/Transforms/ExprTypeConvert.cpp TransformInternals.cpp
Misha Brukman
brukman at cs.uiuc.edu
Fri Oct 10 12:52:18 PDT 2003
Changes in directory llvm/lib/Transforms:
ExprTypeConvert.cpp updated: 1.77 -> 1.78
TransformInternals.cpp updated: 1.36 -> 1.37
---
Log message:
Fix spelling.
---
Diffs of the changes: (+4 -4)
Index: llvm/lib/Transforms/ExprTypeConvert.cpp
diff -u llvm/lib/Transforms/ExprTypeConvert.cpp:1.77 llvm/lib/Transforms/ExprTypeConvert.cpp:1.78
--- llvm/lib/Transforms/ExprTypeConvert.cpp:1.77 Mon Aug 18 09:33:06 2003
+++ llvm/lib/Transforms/ExprTypeConvert.cpp Fri Oct 10 12:51:40 2003
@@ -104,7 +104,7 @@
// If we have a scale, apply it first...
if (Expr.Var) {
- // Expr.Var is not neccesarily unsigned right now, insert a cast now.
+ // Expr.Var is not necessarily unsigned right now, insert a cast now.
if (Expr.Var->getType() != Type::UIntTy)
Expr.Var = new CastInst(Expr.Var, Type::UIntTy,
Expr.Var->getName()+"-uint", It);
@@ -255,7 +255,7 @@
// Do not Check to see if our incoming pointer can be converted
// to be a ptr to an array of the right type... because in more cases than
// not, it is simply not analyzable because of pointer/array
- // discrepencies. To fix this, we will insert a cast before the GEP.
+ // discrepancies. To fix this, we will insert a cast before the GEP.
//
// Check to see if 'N' is an expression that can be converted to
@@ -1169,7 +1169,7 @@
Name = ""; // Make sure not to name a void call!
// Get an iterator to the call instruction so that we can insert casts for
- // operands if needbe. Note that we do not require operands to be
+ // operands if need be. Note that we do not require operands to be
// convertible, we can insert casts if they are convertible but not
// compatible. The reason for this is that we prefer to have resolved
// functions but casted arguments if possible.
Index: llvm/lib/Transforms/TransformInternals.cpp
diff -u llvm/lib/Transforms/TransformInternals.cpp:1.36 llvm/lib/Transforms/TransformInternals.cpp:1.37
--- llvm/lib/Transforms/TransformInternals.cpp:1.36 Mon Jun 23 12:36:49 2003
+++ llvm/lib/Transforms/TransformInternals.cpp Fri Oct 10 12:51:40 2003
@@ -64,7 +64,7 @@
Indices.push_back(ConstantSInt::get(Type::LongTy, Offset/ChildSize));
ThisOffset = (Offset/ChildSize)*ChildSize;
} else {
- Offset = 0; // Return the offset that we were able to acheive
+ Offset = 0; // Return the offset that we were able to achieve
return Ty; // Return the leaf type
}
More information about the llvm-commits
mailing list