[all-commits] [llvm/llvm-project] c18994: [Metadata] Preserve MD_prof when merging instructi...

Snehasish Kumar via All-commits all-commits at lists.llvm.org
Wed Apr 2 10:14:07 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c18994c7cdf68dfbb35c998909aa837169bb0c25
      https://github.com/llvm/llvm-project/commit/c18994c7cdf68dfbb35c998909aa837169bb0c25
  Author: Snehasish Kumar <snehasishk at google.com>
  Date:   2025-04-02 (Wed, 02 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp
    A llvm/test/Transforms/SimplifyCFG/merge-direct-call-branch-weights-preserve-hoist.ll
    A llvm/test/Transforms/SimplifyCFG/merge-direct-call-branch-weights-preserve-sink.ll

  Log Message:
  -----------
  [Metadata] Preserve MD_prof when merging instructions when one is missing. (#132433)

Preserve branch weight metadata when merging instructions if one of the
instructions is missing metadata. This is similar in behaviour to what
we do today for other types of metadata such as mmra, memprof and
callsite metadata.



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