summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ScalarEvolution.cpp
diff options
context:
space:
mode:
authorWojciech Matyjewicz <wmatyjewicz@fastmail.fm>2008-02-13 12:21:32 +0000
committerWojciech Matyjewicz <wmatyjewicz@fastmail.fm>2008-02-13 12:21:32 +0000
commit0e411f653c505a27e4239a3c4c9145ee3bf6b1b7 (patch)
treece3a3a41a82406fb81ad36eecc57e39282adfd31 /llvm/lib/Analysis/ScalarEvolution.cpp
parent35545fd84d9f0dae173bd800c7307b6041386fe1 (diff)
downloadbcm5719-llvm-0e411f653c505a27e4239a3c4c9145ee3bf6b1b7.tar.gz
bcm5719-llvm-0e411f653c505a27e4239a3c4c9145ee3bf6b1b7.zip
Fix typo. Thanks to Duncan for noticing.
llvm-svn: 47062
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
-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 4a440df07b2..34c5bf67923 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud