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 | 32c48634db79e4bea41851d40a28ad9db4e5dc70 (patch) | |
tree | 6a1071ff43fc6458a45ada44e8597492726d523a /llvm/lib/Transforms/Vectorize/BBVectorize.cpp | |
parent | 4ed7278ff4ef206d01867fda76bf90df36398c4c (diff) | |
download | bcm5719-llvm-32c48634db79e4bea41851d40a28ad9db4e5dc70.tar.gz bcm5719-llvm-32c48634db79e4bea41851d40a28ad9db4e5dc70.zip |
BBVectorize.cpp: Get rid of comparision to bool to fix a warning.
llvm-svn: 149810
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/BBVectorize.cpp')
-rw-r--r-- | llvm/lib/Transforms/Vectorize/BBVectorize.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Vectorize/BBVectorize.cpp b/llvm/lib/Transforms/Vectorize/BBVectorize.cpp index 0780b4489ff..6e21a8e31f3 100644 --- a/llvm/lib/Transforms/Vectorize/BBVectorize.cpp +++ b/llvm/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); } |