diff --git a/lib/Transforms/Vectorize/BBVectorize.cpp b/lib/Transforms/Vectorize/BBVectorize.cpp index 0780b4489ff..6e21a8e31f3 100644 --- a/lib/Transforms/Vectorize/BBVectorize.cpp +++ b/lib/Transforms/Vectorize/BBVectorize.cpp @@ -967,7 +967,7 @@ namespace { return true; } - if (CurrentPairs.count(C->second) > 0 && + if (CurrentPairs.count(C->second) != 0 && Visited.count(C->second) == 0) Q.push_back(C->second); }