aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/ConstantFolding.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-11-21 12:43:13 +0000
committerDuncan Sands <baldrick@free.fr>2010-11-21 12:43:13 +0000
commite58391073f6e17cd1024f737618a6f6b8d1323ce (patch)
tree281e69fa2b0ac67fa840406714d8fd79561ca520 /lib/Analysis/ConstantFolding.cpp
parentdcf0a47b765567596957db407d5388864d41e635 (diff)
downloadexternal_llvm-e58391073f6e17cd1024f737618a6f6b8d1323ce.zip
external_llvm-e58391073f6e17cd1024f737618a6f6b8d1323ce.tar.gz
external_llvm-e58391073f6e17cd1024f737618a6f6b8d1323ce.tar.bz2
Fix spelling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119941 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ConstantFolding.cpp')
-rw-r--r--lib/Analysis/ConstantFolding.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/ConstantFolding.cpp b/lib/Analysis/ConstantFolding.cpp
index 3ef0356..82b406f 100644
--- a/lib/Analysis/ConstantFolding.cpp
+++ b/lib/Analysis/ConstantFolding.cpp
@@ -642,8 +642,8 @@ static Constant *SymbolicallyEvaluateGEP(Constant *const *Ops, unsigned NumOps,
const IntegerType *IntPtrTy = TD->getIntPtrType(Ty->getContext());
if (ElemSize == 0)
// The element size is 0. This may be [0 x Ty]*, so just use a zero
- // index for this level and procede to the next level to see if it can
- // accomodate the offset.
+ // index for this level and proceed to the next level to see if it can
+ // accommodate the offset.
NewIdxs.push_back(ConstantInt::get(IntPtrTy, 0));
else {
// The element size is non-zero divide the offset by the element