BBVectorize.cpp: Get rid of comparision to bool to fix a warning.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 5 Feb 2012 05:47:51 +0000 (05:47 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 5 Feb 2012 05:47:51 +0000 (05:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149810 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Vectorize/BBVectorize.cpp

index 0780b4489ff1e32839c49ff17441dc70040c27a3..6e21a8e31f303aaf011e59ee06397b1e7fd640b3 100644 (file)
@@ -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);
       }