[all-commits] [llvm/llvm-project] 902cbc: Use llvm::is_contained where appropriate (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Mon Jul 27 10:21:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 902cbcd59e22ccd853f6b0c22acc772fd955dc46
      https://github.com/llvm/llvm-project/commit/902cbcd59e22ccd853f6b0c22acc772fd955dc46
  Author: Kazu Hirata <kazu at google.com>
  Date:   2020-07-27 (Mon, 27 Jul 2020)

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

  Log Message:
  -----------
  Use llvm::is_contained where appropriate (NFC)

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

Reviewers: efriedma, nhaehnle

Reviewed By: nhaehnle

Subscribers: arsenm, jvesely, nhaehnle, hiraditya, rogfer01, kerbowa, llvm-commits, vkmr

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D84489




More information about the All-commits mailing list