diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-02-05 05:47:51 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-02-05 05:47:51 +0000 |
commit | 5c05f2b99e6d377786b4384925e61577f385f49c (patch) | |
tree | 83b1cd00fa97c6cc50f11d759eefec264663a7c5 /lib/Transforms/Vectorize | |
parent | 6d1263acb9704b38a8d90fd6ce94f49193cd4dde (diff) | |
download | external_llvm-5c05f2b99e6d377786b4384925e61577f385f49c.zip external_llvm-5c05f2b99e6d377786b4384925e61577f385f49c.tar.gz external_llvm-5c05f2b99e6d377786b4384925e61577f385f49c.tar.bz2 |
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
Diffstat (limited to 'lib/Transforms/Vectorize')
-rw-r--r-- | lib/Transforms/Vectorize/BBVectorize.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Vectorize/BBVectorize.cpp b/lib/Transforms/Vectorize/BBVectorize.cpp index 0780b44..6e21a8e 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); } |