diff options
author | Wojciech Matyjewicz <wmatyjewicz@fastmail.fm> | 2008-02-13 12:21:32 +0000 |
---|---|---|
committer | Wojciech Matyjewicz <wmatyjewicz@fastmail.fm> | 2008-02-13 12:21:32 +0000 |
commit | 1377a54a945e94c11ef3376f9202cac3fb61eed7 (patch) | |
tree | 4c2f312cf004cbae34ff2fd7aecf37a3bceeb0e1 /lib/Analysis | |
parent | ebc77b17c0e86f900cb293e0a0550f59d3d15b7d (diff) | |
download | external_llvm-1377a54a945e94c11ef3376f9202cac3fb61eed7.zip external_llvm-1377a54a945e94c11ef3376f9202cac3fb61eed7.tar.gz external_llvm-1377a54a945e94c11ef3376f9202cac3fb61eed7.tar.bz2 |
Fix typo. Thanks to Duncan for noticing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47062 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-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 4a440df..34c5bf6 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -2533,7 +2533,7 @@ HowManyLessThans(SCEV *LHS, SCEV *RHS, const Loop *L, bool isSigned) { // We know the LHS is of the form {n,+,1} and the RHS is some loop-invariant // m. So, we count the number of iterations in which {n,+,1} < m is true. // Note that we cannot simply return max(m-n,0) because it's not safe to - // treat m-n as signed nor unsinged due to overflow possibility. + // treat m-n as signed nor unsigned due to overflow possibility. // First, we get the value of the LHS in the first iteration: n SCEVHandle Start = AddRec->getOperand(0); |