diff options
author | Serge Guelton <sguelton@quarkslab.com> | 2018-11-19 10:05:28 +0000 |
---|---|---|
committer | Serge Guelton <sguelton@quarkslab.com> | 2018-11-19 10:05:28 +0000 |
commit | 12c7a96064c17ba2e60b372e50839b90aaab44bb (patch) | |
tree | f358218702a37a74f700821b1ca478346370a048 /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | 8b22bcd39fc6db57d87202f4cc80ab9ecb9e1088 (diff) | |
download | llvm-12c7a96064c17ba2e60b372e50839b90aaab44bb.zip llvm-12c7a96064c17ba2e60b372e50839b90aaab44bb.tar.gz llvm-12c7a96064c17ba2e60b372e50839b90aaab44bb.tar.bz2 |
Fix disturbing warning - NFCI
llvm-svn: 347186
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. |