diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-09-06 06:46:01 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-09-06 06:46:01 +0000 |
commit | e6180992eb4730563a06c85545ca9cfbc033b7c9 (patch) | |
tree | e8cabab7b71f68d4ce1014baff981143f4ae272a /lib/Analysis/ScalarEvolution.cpp | |
parent | 8cfb2f8bcec2af1c3228fb4e372d4dfb0010c37d (diff) |
Fix typo in comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139137 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 aba1934e96..4bb69ddb27 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -1982,7 +1982,7 @@ const SCEV *ScalarEvolution::getMulExpr(SmallVectorImpl<const SCEV *> &Ops, // Given an equation of the form x + y*It + z*It^2 (above), we want to // express it in terms of {X,+,Y,+,Z}. // {X,+,Y,+,Z} = X + Y*It + Z*(It^2 - It)/2. - // Rearranging, X = x, Y = x+y, Z = 2z. + // 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. |