[all-commits] [llvm/llvm-project] a3a44b: [llvm][ProfDataUtils] Provide getNumBranchWeights ...

shaw young via All-commits all-commits at lists.llvm.org
Mon Jun 24 15:29:28 PDT 2024


  Branch: refs/heads/users/shawbyoung/spr/bolt-hash-based-function-matching
  Home:   https://github.com/llvm/llvm-project
  Commit: a3a44bfbdfefe0928124f9e40d242507f75b87f4
      https://github.com/llvm/llvm-project/commit/a3a44bfbdfefe0928124f9e40d242507f75b87f4
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2024-06-24 (Mon, 24 Jun 2024)

  Changed paths:
    M llvm/include/llvm/IR/ProfDataUtils.h
    M llvm/lib/IR/Instructions.cpp
    M llvm/lib/IR/ProfDataUtils.cpp
    M llvm/lib/IR/Verifier.cpp

  Log Message:
  -----------
  [llvm][ProfDataUtils] Provide getNumBranchWeights API (#90146)

As suggested in
https://github.com/llvm/llvm-project/pull/86609/files#r1556689262
an API for getting the number of branch weights directly from the MD
node would be useful in a variety of checks, and keeps the logic within
ProfDataUtils.


  Commit: 47c4cd5057b16848792b7026138f5b1fde19d44b
      https://github.com/llvm/llvm-project/commit/47c4cd5057b16848792b7026138f5b1fde19d44b
  Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
  Date:   2024-06-24 (Mon, 24 Jun 2024)

  Changed paths:
    M llvm/include/llvm/IR/ProfDataUtils.h
    M llvm/lib/IR/Instructions.cpp
    M llvm/lib/IR/ProfDataUtils.cpp
    M llvm/lib/IR/Verifier.cpp

  Log Message:
  -----------
  Merge branch 'main' into users/shawbyoung/spr/bolt-hash-based-function-matching


Compare: https://github.com/llvm/llvm-project/compare/99dff7756450...47c4cd5057b1

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