[PATCH] D50476: [NFC] ConstantMerge: don't insert when find should be used

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 13 09:45:26 PDT 2018


dblaikie added a comment.

You could use D.count(V) to save the comparison with end, etc.


Repository:
  rL LLVM

https://reviews.llvm.org/D50476





More information about the llvm-commits mailing list