Changes in directory llvm/lib/Transforms/Scalar:
PredicateSimplifier.cpp updated: 1.77 -> 1.78 --- Log message: Patches by Chuck Rose to unbreak V Studio builds. Thanks Chuck! --- Diffs of the changes: (+15 -0) PredicateSimplifier.cpp | 15 +++++++++++++++ 1 files changed, 15 insertions(+) Index: llvm/lib/Transforms/Scalar/PredicateSimplifier.cpp diff -u llvm/lib/Transforms/Scalar/PredicateSimplifier.cpp:1.77 llvm/lib/Transforms/Scalar/PredicateSimplifier.cpp:1.78 --- llvm/lib/Transforms/Scalar/PredicateSimplifier.cpp:1.77 Sun Jun 3 19:32:21 2007 +++ llvm/lib/Transforms/Scalar/PredicateSimplifier.cpp Mon Jun 4 18:52:59 2007 @@ -232,6 +232,13 @@ bool operator<(unsigned to) const { return To < to; } + bool operator>(unsigned to) const { + return To > to; + } + + friend bool operator<(unsigned to, const Edge &edge) { + return edge.operator>(to); + } }; /// A single node in the InequalityGraph. This stores the canonical Value @@ -669,6 +676,14 @@ bool operator<(const Value *value) const { return V < value; } + + bool operator>(const Value *value) const { + return V > value; + } + + friend bool operator<(const Value *value, const ScopedRange &range) { + return range.operator>(value); + } }; TargetData *TD; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits