[all-commits] [llvm/llvm-project] 1dc500: [IndirectCallPromotion] Use ArrayRef<PromotionCand...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Mon Jul 1 14:47:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1dc5000cf83a013fc79cc1fa1a215f014ac77451
      https://github.com/llvm/llvm-project/commit/1dc5000cf83a013fc79cc1fa1a215f014ac77451
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp

  Log Message:
  -----------
  [IndirectCallPromotion] Use ArrayRef<PromotionCandidate> (NFC) (#97236)

Aside from the fact that LLVM Programmer's Manual prefers ArrayRef to
const std::vector &, ArrayRef<PromotionCandidate> here makes it easier
to switch the underlying type to something like SmallVector.  Note
that we typically do not have a lot of candidates.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list