diff options
author | Duncan Sands <baldrick@free.fr> | 2009-09-06 08:33:48 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2009-09-06 08:33:48 +0000 |
commit | b7c5bdf843419e4222770475c27932c4c8e5c303 (patch) | |
tree | 663ea8e38cdb345d887be5517b8b3eb700b682da /lib/Support/APInt.cpp | |
parent | 34d0194583c46f7f0d8695cb33a1feb3845946b3 (diff) |
Remove some unused variables and methods warned about by
icc (#177, partial). Patch by Erick Tryzelaar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81106 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/APInt.cpp')
-rw-r--r-- | lib/Support/APInt.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Support/APInt.cpp b/lib/Support/APInt.cpp index 5f744e72f9..d7706268dc 100644 --- a/lib/Support/APInt.cpp +++ b/lib/Support/APInt.cpp @@ -1481,9 +1481,7 @@ APInt::ms APInt::magic() const { const APInt& d = *this; unsigned p; APInt ad, anc, delta, q1, r1, q2, r2, t; - APInt allOnes = APInt::getAllOnesValue(d.getBitWidth()); APInt signedMin = APInt::getSignedMinValue(d.getBitWidth()); - APInt signedMax = APInt::getSignedMaxValue(d.getBitWidth()); struct ms mag; ad = d.abs(); |