summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ScalarEvolution.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2008-05-06 04:03:18 +0000
committerNick Lewycky <nicholas@mxc.ca>2008-05-06 04:03:18 +0000
commitf0bdd22ffd5b89f87c5fe55139f41865f040956f (patch)
treee91e961b9d7751cf917ef5c3700cef81552afe3f /llvm/lib/Analysis/ScalarEvolution.cpp
parent25f08069ae1459bc03a7a2f8bc16e96da918b17a (diff)
downloadbcm5719-llvm-f0bdd22ffd5b89f87c5fe55139f41865f040956f.tar.gz
bcm5719-llvm-f0bdd22ffd5b89f87c5fe55139f41865f040956f.zip
Fix typo and indentation.
llvm-svn: 50706
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
-rw-r--r--llvm/lib/Analysis/ScalarEvolution.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp
index 0a58f2b629d..b757531bc11 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/lib/Analysis/ScalarEvolution.cpp
@@ -1981,7 +1981,7 @@ SCEVHandle ScalarEvolutionsImpl::ComputeIterationCount(const Loop *L) {
}
case ICmpInst::ICMP_UGT: {
SCEVHandle TC = HowManyLessThans(SE.getNotSCEV(LHS),
- SE.getNotSCEV(RHS), L, false);
+ SE.getNotSCEV(RHS), L, false);
if (!isa<SCEVCouldNotCompute>(TC)) return TC;
break;
}
@@ -2045,7 +2045,7 @@ GetAddressedElementFromGlobal(GlobalVariable *GV,
}
/// ComputeLoadConstantCompareIterationCount - Given an exit condition of
-/// 'icmp op load X, cst', try to se if we can compute the trip count.
+/// 'icmp op load X, cst', try to see if we can compute the trip count.
SCEVHandle ScalarEvolutionsImpl::
ComputeLoadConstantCompareIterationCount(LoadInst *LI, Constant *RHS,
const Loop *L,
OpenPOWER on IntegriCloud