Fix typo. Thanks to Duncan for noticing.
authorWojciech Matyjewicz <wmatyjewicz@fastmail.fm>
Wed, 13 Feb 2008 12:21:32 +0000 (12:21 +0000)
committerWojciech Matyjewicz <wmatyjewicz@fastmail.fm>
Wed, 13 Feb 2008 12:21:32 +0000 (12:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47062 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ScalarEvolution.cpp

index 4a440df07b2a24f0259fd53ce53d5df2bf4f81e4..34c5bf67923084997d5020e5b42ecd0f3aa3b576 100644 (file)
@@ -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);