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 | 2fbeaf084ffe6467004d2a340336407c254f623f (patch) | |
tree | b1689f01b10a49e9167d74b16da8d1aea0484196 /llvm/lib/Support | |
parent | 109e762a5752e7a6bcee526bdbb6bbf1978152a7 (diff) | |
download | bcm5719-llvm-2fbeaf084ffe6467004d2a340336407c254f623f.tar.gz bcm5719-llvm-2fbeaf084ffe6467004d2a340336407c254f623f.zip |
Remove some unused variables and methods warned about by
icc (#177, partial). Patch by Erick Tryzelaar.
llvm-svn: 81106
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r-- | llvm/lib/Support/APInt.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Support/APInt.cpp b/llvm/lib/Support/APInt.cpp index 5f744e72f9f..d7706268dc2 100644 --- a/llvm/lib/Support/APInt.cpp +++ b/llvm/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(); |