summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-09-06 06:46:01 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-09-06 06:46:01 +0000
commit0af94cc50b22b5c0f4b7e432d086f15eea262c9c (patch)
treea31951d26931df29e4a7f868e97a39397b5c5f2a /llvm/lib/Analysis
parent702cf1ecccb35bd943729a3fc6d2c5ff5c41063c (diff)
downloadbcm5719-llvm-0af94cc50b22b5c0f4b7e432d086f15eea262c9c.tar.gz
bcm5719-llvm-0af94cc50b22b5c0f4b7e432d086f15eea262c9c.zip
Fix typo in comment.
llvm-svn: 139137
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/ScalarEvolution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp
index aba1934e967..4bb69ddb276 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud