diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-09-06 07:02:40 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-09-06 07:02:40 +0000 |
commit | ecd37bcd5ce27cacfa11c4731c46d9869278745e (patch) | |
tree | 5c8d609e74b8921b16508e912ec7acaaf4177d38 /lib/Analysis/ScalarEvolution.cpp | |
parent | 9115fba853ec3f89bf335b22ae51fbf18439e171 (diff) |
Fix typo in comment again.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139139 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ScalarEvolution.cpp')
-rw-r--r-- | lib/Analysis/ScalarEvolution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index e13f60554d..b4c4da60ee 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -1985,7 +1985,7 @@ const SCEV *ScalarEvolution::getMulExpr(SmallVectorImpl<const SCEV *> &Ops, // Rearranging, X = x, Y = y+z, Z = 2z. // // x = A*C, y = (A*D + B*C), z = B*D. - // Therefore X = A*C, Y = (A*D + B*C) - B*D and Z = 2*B*D. + // Therefore X = A*C, Y = (A*D + B*C) + B*D and Z = 2*B*D. for (; OtherIdx != Ops.size() && isa<SCEVAddRecExpr>(Ops[OtherIdx]); ++OtherIdx) if (const SCEVAddRecExpr *OtherAddRec = |