Fix typo in comment again.

llvm-svn: 139139
This commit is contained in:
Nick Lewycky 2011-09-06 07:02:40 +00:00
parent 700f71a0ac
commit e1c0b41d41

View File

@ -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 =