]> granicus.if.org Git - llvm/commitdiff
[ConstantRange] Remove a temporary APInt I meant to delete in r300621. NFC
authorCraig Topper <craig.topper@gmail.com>
Sat, 29 Apr 2017 05:24:34 +0000 (05:24 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sat, 29 Apr 2017 05:24:34 +0000 (05:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301737 91177308-0d34-0410-b5e6-96231b3b80d8

lib/IR/ConstantRange.cpp

index bd2581b4003bd59ff21e0d7f3d4b19af2ace5ec5..b0323dd9bdf1dba4da0824349cbf32d88276c8d7 100644 (file)
@@ -276,7 +276,6 @@ APInt ConstantRange::getUnsignedMin() const {
 }
 
 APInt ConstantRange::getSignedMax() const {
-  APInt SignedMax(APInt::getSignedMaxValue(getBitWidth()));
   if (!isWrappedSet()) {
     APInt UpperMinusOne = getUpper() - 1;
     if (getLower().sle(UpperMinusOne))