Avoid "count" if possible -> use "find" to check for the existence of keys.
Passed llvm test suite.
Paths
| Differential D51054
[LoopVectorize][NFCI] Use find instead of count ClosedPublic Authored by xbolva00 on Aug 21 2018, 11:41 AM.
Details Summary Avoid "count" if possible -> use "find" to check for the existence of keys. Passed llvm test suite.
Diff Detail
Event TimelineComment Actions LGTM thanks. Can you run clang-format on the diff before committing? Also adding a few more people as reviewers, please wait with committing a day or so in case there is any more feedback.
This revision is now accepted and ready to land.Aug 22 2018, 9:05 AM Closed by commit rL340563: [LoopVectorize][NFCI] Use find instead of count (authored by xbolva00). · Explain WhyAug 23 2018, 11:35 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 162240 llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
|