summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-03-17 20:39:06 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-03-17 20:39:06 +0000
commitd9103df51b858cf051a1650ac7eb33d416e9ac41 (patch)
tree8b6f8e90439018b65d736d50ca4c8cb9b9b206d2 /include
parent6a3dbd3b25bbc99bd1a233d6a74ddea3493ba6ac (diff)
downloadllvm-d9103df51b858cf051a1650ac7eb33d416e9ac41.tar.gz
llvm-d9103df51b858cf051a1650ac7eb33d416e9ac41.tar.bz2
llvm-d9103df51b858cf051a1650ac7eb33d416e9ac41.tar.xz
Add an argument to APInt's magic udiv calculation to specify the number of bits that are known zero in the divided number.
This will come in handy soon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127828 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/ADT/APInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/APInt.h b/include/llvm/ADT/APInt.h
index d1fd3e5034..82819d57a2 100644
--- a/include/llvm/ADT/APInt.h
+++ b/include/llvm/ADT/APInt.h
@@ -1372,7 +1372,7 @@ public:
/// Calculate the magic number for unsigned division by a constant.
struct mu;
- mu magicu() const;
+ mu magicu(unsigned LeadingZeros = 0) const;
/// @}
/// @name Building-block Operations for APInt and APFloat