aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/ExprTypeConvert.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-08-18 14:43:39 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-08-18 14:43:39 +0000
commit5560c9d49ccae132cabf1155f18aa0480dce3eda (patch)
tree8fd8c1924c3dd2243b805e6e4d076cbdc57855fb /lib/Transforms/ExprTypeConvert.cpp
parent00d7af60b0ac2e790b5be2821ccca895a00b0972 (diff)
Spell `necessary' correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7944 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/ExprTypeConvert.cpp')
-rw-r--r--lib/Transforms/ExprTypeConvert.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/ExprTypeConvert.cpp b/lib/Transforms/ExprTypeConvert.cpp
index 070396847e..ac5af10a3b 100644
--- a/lib/Transforms/ExprTypeConvert.cpp
+++ b/lib/Transforms/ExprTypeConvert.cpp
@@ -710,7 +710,7 @@ static bool OperandConvertibleToType(User *U, Value *V, const Type *Ty,
if (CTMI != CTMap.end()) { // Operand #1 is in the table already?
// If so, check to see if it's Ty*, or, more importantly, if it is a
// pointer to a structure where the first element is a Ty... this code
- // is neccesary because we might be trying to change the source and
+ // is necessary because we might be trying to change the source and
// destination type of the store (they might be related) and the dest
// pointer type might be a pointer to structure. Below we allow pointer
// to structures where the 0th element is compatible with the value,
@@ -864,7 +864,7 @@ static bool OperandConvertibleToType(User *U, Value *V, const Type *Ty,
// Okay, at this point, we know that all of the arguments can be
// converted. We succeed if we can change the return type if
- // neccesary...
+ // necessary...
//
return ValueConvertibleToType(I, FTy->getReturnType(), CTMap, TD);
}