aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APInt.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-04-15 05:18:47 +0000
committerChris Lattner <sabre@nondot.org>2011-04-15 05:18:47 +0000
commit0ab5e2cdedba59b4f81152d72d70e1796f796834 (patch)
tree2b0d5d1a27ca9c3a382b2c0ed091fd7aebc857cc /llvm/lib/Support/APInt.cpp
parentb5e3e9dd27dce1b3bb10c4f453cea84a0b35bbca (diff)
downloadllvm-0ab5e2cdedba59b4f81152d72d70e1796f796834.zip
llvm-0ab5e2cdedba59b4f81152d72d70e1796f796834.tar.gz
llvm-0ab5e2cdedba59b4f81152d72d70e1796f796834.tar.bz2
Fix a ton of comment typos found by codespell. Patch by
Luis Felipe Strano Moraes! llvm-svn: 129558
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 5789721..23a22ac 100644
--- a/llvm/lib/Support/APInt.cpp
+++ b/llvm/lib/Support/APInt.cpp
@@ -1518,7 +1518,7 @@ APInt::ms APInt::magic() const {
/// Requires that the divisor not be 0. Taken from "Hacker's Delight", Henry
/// S. Warren, Jr., chapter 10.
/// LeadingZeros can be used to simplify the calculation if the upper bits
-/// of the devided value are known zero.
+/// of the divided value are known zero.
APInt::mu APInt::magicu(unsigned LeadingZeros) const {
const APInt& d = *this;
unsigned p;