[PATCH] D84489: Use llvm::is_contained where appropriate (NFC)

Kazu Hirata via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 23 23:38:54 PDT 2020


kazu created this revision.
kazu added a reviewer: efriedma.
Herald added subscribers: vkmr, kerbowa, rogfer01, hiraditya, nhaehnle, jvesely, arsenm.
Herald added a project: LLVM.

This patch replaces std::find with llvm::is_contained where
appropriate.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84489

Files:
  llvm/lib/Analysis/AssumptionCache.cpp
  llvm/lib/CodeGen/GlobalISel/LegalityPredicates.cpp
  llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
  llvm/lib/Target/AMDGPU/AMDGPUUnifyMetadata.cpp
  llvm/lib/Target/BPF/BPFMIChecking.cpp
  llvm/lib/Transforms/IPO/GlobalOpt.cpp
  llvm/lib/Transforms/IPO/PartialInlining.cpp
  llvm/lib/Transforms/Scalar/GVNSink.cpp
  llvm/lib/Transforms/Vectorize/VPlanSLP.cpp
  llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
  llvm/tools/bugpoint/ExtractFunction.cpp
  llvm/tools/llvm-exegesis/lib/Analysis.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84489.280336.patch
Type: text/x-patch
Size: 8008 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200724/772983be/attachment.bin>


More information about the llvm-commits mailing list