[PATCH] D51054: [LoopVectorize][NFCI] Use find instead of count

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 21 11:41:17 PDT 2018


xbolva00 created this revision.
Herald added a subscriber: llvm-commits.

Avoid "count" if possible -> use "find" to check for the existence of keys.

Passed llvm test suite.


Repository:
  rL LLVM

https://reviews.llvm.org/D51054

Files:
  lib/Transforms/Vectorize/LoopVectorize.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51054.161782.patch
Type: text/x-patch
Size: 12440 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180821/6d003c0f/attachment.bin>


More information about the llvm-commits mailing list