diff options
author | Craig Topper <craig.topper@gmail.com> | 2017-04-29 05:24:34 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2017-04-29 05:24:34 +0000 |
commit | 6fe50f84c42d83ab9f9e9310e43e9c1a70f3b512 (patch) | |
tree | 200410963906e79c58496b2ce492c1c484913185 | |
parent | ee4f22dc2df40fbc42672a0677ac4d11f245bc48 (diff) | |
download | bcm5719-llvm-6fe50f84c42d83ab9f9e9310e43e9c1a70f3b512.tar.gz bcm5719-llvm-6fe50f84c42d83ab9f9e9310e43e9c1a70f3b512.zip |
[ConstantRange] Remove a temporary APInt I meant to delete in r300621. NFC
llvm-svn: 301737
-rw-r--r-- | llvm/lib/IR/ConstantRange.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/IR/ConstantRange.cpp b/llvm/lib/IR/ConstantRange.cpp index bd2581b4003..b0323dd9bdf 100644 --- a/llvm/lib/IR/ConstantRange.cpp +++ b/llvm/lib/IR/ConstantRange.cpp @@ -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)) |