[all-commits] [llvm/llvm-project] 64f4ce: [Inline][PGO] After inline, update InvokeInst prof...

Mingming Liu via All-commits all-commits at lists.llvm.org
Wed May 8 15:49:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64f4ceb09ec3559368dd775330184b5259531cd3
      https://github.com/llvm/llvm-project/commit/64f4ceb09ec3559368dd775330184b5259531cd3
  Author: Mingming Liu <mingmingl at google.com>
  Date:   2024-05-08 (Wed, 08 May 2024)

  Changed paths:
    M llvm/include/llvm/IR/Instructions.h
    M llvm/lib/IR/Instructions.cpp
    M llvm/lib/IR/ProfDataUtils.cpp
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    M llvm/test/Transforms/Inline/update_invoke_prof.ll

  Log Message:
  -----------
  [Inline][PGO] After inline, update InvokeInst profile counts in caller and cloned callee (#83809)

A related change is https://reviews.llvm.org/D133121, which correctly
preserves both branch weights and value profiles for invoke instruction.
* If the branch weight of the `invokeinst` specifies taken / not-taken branches, there is no scale.



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