summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ScalarEvolution.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-06-02 10:20:22 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-06-02 10:20:22 +0000
commitbde917666307faf3c9e2d290c38a0018f54d7a68 (patch)
treea4f8b7904ebe75594a47abfa098ba7fff69d0cf5 /llvm/lib/Analysis/ScalarEvolution.cpp
parent0e46d8a08c4c50519bd3c5688d0bb21f57edb075 (diff)
downloadbcm5719-llvm-bde917666307faf3c9e2d290c38a0018f54d7a68.tar.gz
bcm5719-llvm-bde917666307faf3c9e2d290c38a0018f54d7a68.zip
Fix typos found by http://github.com/lyda/misspell-check
llvm-svn: 157885
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 b49c65f3706..886812be5fa 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/lib/Analysis/ScalarEvolution.cpp
@@ -1838,7 +1838,7 @@ static uint64_t umul_ov(uint64_t i, uint64_t j, bool &Overflow) {
/// Compute the result of "n choose k", the binomial coefficient. If an
/// intermediate computation overflows, Overflow will be set and the return will
-/// be garbage. Overflow is not cleared on absense of overflow.
+/// be garbage. Overflow is not cleared on absence of overflow.
static uint64_t Choose(uint64_t n, uint64_t k, bool &Overflow) {
// We use the multiplicative formula:
// n(n-1)(n-2)...(n-(k-1)) / k(k-1)(k-2)...1 .
OpenPOWER on IntegriCloud