[llvm] r301737 - [ConstantRange] Remove a temporary APInt I meant to delete in r300621. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 28 22:24:34 PDT 2017
Author: ctopper
Date: Sat Apr 29 00:24:34 2017
New Revision: 301737
URL: http://llvm.org/viewvc/llvm-project?rev=301737&view=rev
Log:
[ConstantRange] Remove a temporary APInt I meant to delete in r300621. NFC
Modified:
llvm/trunk/lib/IR/ConstantRange.cpp
Modified: llvm/trunk/lib/IR/ConstantRange.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/ConstantRange.cpp?rev=301737&r1=301736&r2=301737&view=diff
==============================================================================
--- llvm/trunk/lib/IR/ConstantRange.cpp (original)
+++ llvm/trunk/lib/IR/ConstantRange.cpp Sat Apr 29 00:24:34 2017
@@ -276,7 +276,6 @@ APInt ConstantRange::getUnsignedMin() co
}
APInt ConstantRange::getSignedMax() const {
- APInt SignedMax(APInt::getSignedMaxValue(getBitWidth()));
if (!isWrappedSet()) {
APInt UpperMinusOne = getUpper() - 1;
if (getLower().sle(UpperMinusOne))
More information about the llvm-commits
mailing list