[all-commits] [llvm/llvm-project] 329e6b: [ProfileData] Use std::array for ValueProfData (#9...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sun Jun 23 16:48:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 329e6b4fd5a995c7d8aa4d11aec1b901ca49e484
      https://github.com/llvm/llvm-project/commit/329e6b4fd5a995c7d8aa4d11aec1b901ca49e484
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-23 (Sun, 23 Jun 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/InstrProf.h

  Log Message:
  -----------
  [ProfileData] Use std::array for ValueProfData (#96440)

This patch uses std::array for ValueProfData.  Aside from reducing the
line count and code duplication, the use of std::array here makes it
easier to add a new type of value profiling without touching as many
places.



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