diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-09-06 05:08:09 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-09-06 05:08:09 +0000 |
commit | db66b82dd544c8b693c2ea14170a822ae718f9e2 (patch) | |
tree | 88a964b7ac776c90d079508458c9107ca9bdec2f /llvm/lib/Analysis/ScalarEvolution.cpp | |
parent | 658bdb51330594f487196b7656197e134d7c5999 (diff) | |
download | bcm5719-llvm-db66b82dd544c8b693c2ea14170a822ae718f9e2.tar.gz bcm5719-llvm-db66b82dd544c8b693c2ea14170a822ae718f9e2.zip |
No no no, fix typo properly!
llvm-svn: 139134
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
-rw-r--r-- | llvm/lib/Analysis/ScalarEvolution.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp index 6d28f6912fd..c64cdf89ccb 100644 --- a/llvm/lib/Analysis/ScalarEvolution.cpp +++ b/llvm/lib/Analysis/ScalarEvolution.cpp @@ -1735,7 +1735,7 @@ const SCEV *ScalarEvolution::getAddExpr(SmallVectorImpl<const SCEV *> &Ops, // If all of the other operands were loop invariant, we are done. if (Ops.size() == 1) return NewRec; - // Otherwise, add the folded AddRec by the non-live parts. + // Otherwise, add the folded AddRec by the non-invariant parts. for (unsigned i = 0;; ++i) if (Ops[i] == AddRec) { Ops[i] = NewRec; @@ -1960,7 +1960,7 @@ const SCEV *ScalarEvolution::getMulExpr(SmallVectorImpl<const SCEV *> &Ops, // If all of the other operands were loop invariant, we are done. if (Ops.size() == 1) return NewRec; - // Otherwise, multiply the folded AddRec by the non-live parts. + // Otherwise, multiply the folded AddRec by the non-invariant parts. for (unsigned i = 0;; ++i) if (Ops[i] == AddRec) { Ops[i] = NewRec; |