summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit1f86be9164d4cf049e63659238d5fceea4a7174d (patch)
tree6470529e6b4d2684541095129b55f87be775ab2e /llvm/lib/Analysis/ConstantFolding.cpp
parent22db31305f1279a098ae29ec642a19f5f5f04d99 (diff)
downloadbcm5719-llvm-1f86be9164d4cf049e63659238d5fceea4a7174d.tar.gz
bcm5719-llvm-1f86be9164d4cf049e63659238d5fceea4a7174d.zip
Fix spelling.
llvm-svn: 119941
Diffstat (limited to 'llvm/lib/Analysis/ConstantFolding.cpp')
-rw-r--r--llvm/lib/Analysis/ConstantFolding.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/ConstantFolding.cpp b/llvm/lib/Analysis/ConstantFolding.cpp
index 3ef03569d4e..82b406f2044 100644
--- a/llvm/lib/Analysis/ConstantFolding.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud