Fix value ranges.
authorNick Lewycky <nicholas@mxc.ca>
Sun, 24 Jun 2007 20:14:22 +0000 (20:14 +0000)
committerNick 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

index f95d2b5a5c3c6f4710fc75d2566f0afd929306f8..91a3344f989d64d9987557ac6455ba9f28dba224 100644 (file)
@@ -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 {