projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af9e7a7
)
Minor code simplification.
author
Dan Gohman
<gohman@apple.com>
Tue, 21 Jul 2009 00:37:45 +0000
(
00:37
+0000)
committer
Dan Gohman
<gohman@apple.com>
Tue, 21 Jul 2009 00:37:45 +0000
(
00:37
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76521
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/ScalarEvolution.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/ScalarEvolution.cpp
b/lib/Analysis/ScalarEvolution.cpp
index 3b388dccdeeef7dabb3d7705bf7147fa6f69721b..5231640676c06a5a4a1031665cc49e48583d7a5e 100644
(file)
--- a/
lib/Analysis/ScalarEvolution.cpp
+++ b/
lib/Analysis/ScalarEvolution.cpp
@@
-2741,7
+2741,7
@@
ScalarEvolution::getSignedRange(const SCEV *S) {
APInt Max = APIntOps::smax(StartRange.getSignedMax(),
EndRange.getSignedMax());
if (Min.isMinSignedValue() && Max.isMaxSignedValue())
- return
ConstantRange(Min.getBitWidth(), /*isFullSet=*/true)
;
+ return
FullSet
;
return ConstantRange(Min, Max+1);
}
}