[llvm-commits] [llvm] r119941 - /llvm/trunk/lib/Analysis/ConstantFolding.cpp

Duncan Sands baldrick at free.fr
Sun Nov 21 04:43:13 PST 2010


Author: baldrick
Date: Sun Nov 21 06:43:13 2010
New Revision: 119941

URL: http://llvm.org/viewvc/llvm-project?rev=119941&view=rev
Log:
Fix spelling.

Modified:
    llvm/trunk/lib/Analysis/ConstantFolding.cpp

Modified: llvm/trunk/lib/Analysis/ConstantFolding.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ConstantFolding.cpp?rev=119941&r1=119940&r2=119941&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ConstantFolding.cpp (original)
+++ llvm/trunk/lib/Analysis/ConstantFolding.cpp Sun Nov 21 06:43:13 2010
@@ -642,8 +642,8 @@
       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





More information about the llvm-commits mailing list