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:
79a6370
)
Fix value ranges.
author
Nick Lewycky
<nicholas@mxc.ca>
Sun, 24 Jun 2007 20:14:22 +0000
(20:14 +0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Sun, 24 Jun 2007 20:14:22 +0000
(20:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37713
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/PredicateSimplifier.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/PredicateSimplifier.cpp
b/lib/Transforms/Scalar/PredicateSimplifier.cpp
index f95d2b5a5c3c6f4710fc75d2566f0afd929306f8..91a3344f989d64d9987557ac6455ba9f28dba224 100644
(file)
--- a/
lib/Transforms/Scalar/PredicateSimplifier.cpp
+++ b/
lib/Transforms/Scalar/PredicateSimplifier.cpp
@@
-842,7
+842,7
@@
namespace {
bool operator<(const ScopedRange &range) const {
if (V != range.V) return V < range.V;
- else return
Subtree <
range.Subtree;
+ else return
*Subtree < *
range.Subtree;
}
bool operator<(const Value *value) const {