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 | 5c3f915679bede35de38a5702359ab5befc38b95 (patch) | |
tree | 663ea8e38cdb345d887be5517b8b3eb700b682da /lib/Support/APInt.cpp | |
parent | bbfc76d44f8db3457b24e4c2fdfe0f7774a815a5 (diff) | |
download | external_llvm-5c3f915679bede35de38a5702359ab5befc38b95.zip external_llvm-5c3f915679bede35de38a5702359ab5befc38b95.tar.gz external_llvm-5c3f915679bede35de38a5702359ab5befc38b95.tar.bz2 |
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 5f744e7..d770626 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(); |