diff options
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
-rw-r--r-- | llvm/lib/CodeGen/CodeGenPrepare.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp index 01f0e76..d2ddb32 100644 --- a/llvm/lib/CodeGen/CodeGenPrepare.cpp +++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp @@ -2798,7 +2798,7 @@ bool PhiNodeSetIterator::operator==(const PhiNodeSetIterator &RHS) const { } bool PhiNodeSetIterator::operator!=(const PhiNodeSetIterator &RHS) const { - return CurrentIndex != RHS.CurrentIndex; + return !((*this) == RHS); } /// Keep track of simplification of Phi nodes. |