From 5c05f2b99e6d377786b4384925e61577f385f49c Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Sun, 5 Feb 2012 05:47:51 +0000 Subject: [PATCH] BBVectorize.cpp: Get rid of comparision to bool to fix a warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149810 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Vectorize/BBVectorize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }