commit | 12c7a96064c17ba2e60b372e50839b90aaab44bb | [log] [tgz] |
---|---|---|
author | Serge Guelton <sguelton@quarkslab.com> | Mon Nov 19 10:05:28 2018 +0000 |
committer | Serge Guelton <sguelton@quarkslab.com> | Mon Nov 19 10:05:28 2018 +0000 |
tree | f358218702a37a74f700821b1ca478346370a048 | |
parent | 8b22bcd39fc6db57d87202f4cc80ab9ecb9e1088 [diff] [blame] |
Fix disturbing warning - NFCI llvm-svn: 347186
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 { - return CurrentIndex != RHS.CurrentIndex; + return !((*this) == RHS); } /// Keep track of simplification of Phi nodes.