From 2fbeaf084ffe6467004d2a340336407c254f623f Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Sun, 6 Sep 2009 08:33:48 +0000 Subject: Remove some unused variables and methods warned about by icc (#177, partial). Patch by Erick Tryzelaar. llvm-svn: 81106 --- llvm/lib/Support/APInt.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'llvm/lib/Support/APInt.cpp') diff --git a/llvm/lib/Support/APInt.cpp b/llvm/lib/Support/APInt.cpp index 5f744e7..d770626 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(); -- cgit v1.1