projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee4f22d
)
[ConstantRange] Remove a temporary APInt I meant to delete in r300621. NFC
author
Craig Topper
<craig.topper@gmail.com>
Sat, 29 Apr 2017 05:24:34 +0000
(
05:24
+0000)
committer
Craig Topper
<craig.topper@gmail.com>
Sat, 29 Apr 2017 05:24:34 +0000
(
05:24
+0000)
llvm-svn: 301737
llvm/lib/IR/ConstantRange.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/IR/ConstantRange.cpp
b/llvm/lib/IR/ConstantRange.cpp
index bd2581b4003bd59ff21e0d7f3d4b19af2ace5ec5..b0323dd9bdf1dba4da0824349cbf32d88276c8d7 100644
(file)
--- 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))