[all-commits] [llvm/llvm-project] d0b1c9: [BOLT][NFC] ICP: simplify findTargetsIndex

Amir Ayupov via All-commits all-commits at lists.llvm.org
Tue May 3 19:31:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d0b1c98c960b1073015bb9a87c9d10a2115fd32f
      https://github.com/llvm/llvm-project/commit/d0b1c98c960b1073015bb9a87c9d10a2115fd32f
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2022-05-03 (Tue, 03 May 2022)

  Changed paths:
    M bolt/lib/Passes/IndirectCallPromotion.cpp

  Log Message:
  -----------
  [BOLT][NFC] ICP: simplify findTargetsIndex

Unnest lambda and use `llvm::is_contained`.

Reviewed By: rafauler

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




More information about the All-commits mailing list