summaryrefslogtreecommitdiff
path: root/lib/Support
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-09-06 08:33:48 +0000
committerDuncan Sands <baldrick@free.fr>2009-09-06 08:33:48 +0000
commitb7c5bdf843419e4222770475c27932c4c8e5c303 (patch)
tree663ea8e38cdb345d887be5517b8b3eb700b682da /lib/Support
parent34d0194583c46f7f0d8695cb33a1feb3845946b3 (diff)
downloadllvm-b7c5bdf843419e4222770475c27932c4c8e5c303.tar.gz
llvm-b7c5bdf843419e4222770475c27932c4c8e5c303.tar.bz2
llvm-b7c5bdf843419e4222770475c27932c4c8e5c303.tar.xz
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')
-rw-r--r--lib/Support/APInt.cpp2
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();