Fix spelling.
authorDuncan Sands <baldrick@free.fr>
Sun, 21 Nov 2010 12:43:13 +0000 (12:43 +0000)
committerDuncan Sands <baldrick@free.fr>
Sun, 21 Nov 2010 12:43:13 +0000 (12:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119941 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ConstantFolding.cpp

index 3ef03569d4e1e4cd5366a52ea73654587b61828c..82b406f204416f48d8702363798630d354fd68fc 100644 (file)
@@ -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