summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/APInt.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-05-13 00:35:30 +0000
committerCraig Topper <craig.topper@gmail.com>2017-05-13 00:35:30 +0000
commit4b83b4d560b2afa214b9e532b576a7ff5624f725 (patch)
tree42b3f1ce74f27e2e084c2735ea8c457637653b83 /llvm/lib/Support/APInt.cpp
parent0c4debc123b3cf92d018700a26a32ae5fc39a7b9 (diff)
downloadbcm5719-llvm-4b83b4d560b2afa214b9e532b576a7ff5624f725.tar.gz
bcm5719-llvm-4b83b4d560b2afa214b9e532b576a7ff5624f725.zip
[APInt] Fix typo in comment. NFC
llvm-svn: 302974
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
-rw-r--r--llvm/lib/Support/APInt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/APInt.cpp b/llvm/lib/Support/APInt.cpp
index 369ded7cf14..7a1598a401e 100644
--- a/llvm/lib/Support/APInt.cpp
+++ b/llvm/lib/Support/APInt.cpp
@@ -1302,7 +1302,7 @@ static void KnuthDiv(uint32_t *u, uint32_t *v, uint32_t *q, uint32_t* r,
// Set qp = (u[j+n]*b + u[j+n-1]) / v[n-1]. (qp=qprime=q')
// Set rp = (u[j+n]*b + u[j+n-1]) % v[n-1]. (rp=rprime=r')
// Now test if qp == b or qp*v[n-2] > b*rp + u[j+n-2]; if so, decrease
- // qp by 1, inrease rp by v[n-1], and repeat this test if rp < b. The test
+ // qp by 1, increase rp by v[n-1], and repeat this test if rp < b. The test
// on v[n-2] determines at high speed most of the cases in which the trial
// value qp is one too large, and it eliminates all cases where qp is two
// too large.
OpenPOWER on IntegriCloud