[all-commits] [llvm/llvm-project] 24e557: Address comments.

Snehasish Kumar via All-commits all-commits at lists.llvm.org
Fri Mar 21 10:33:46 PDT 2025


  Branch: refs/heads/users/snehasish/03-21-_metadata_preserve_md_prof_when_merging_instructions_when_one_is_missing
  Home:   https://github.com/llvm/llvm-project
  Commit: 24e557330e418cf73f92cc58e58e35e90623a53d
      https://github.com/llvm/llvm-project/commit/24e557330e418cf73f92cc58e58e35e90623a53d
  Author: Snehasish Kumar <snehasishk at google.com>
  Date:   2025-03-21 (Fri, 21 Mar 2025)

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp

  Log Message:
  -----------
  Address comments.


  Commit: 8677f6470103b6af093f57f79c18c4f81912c5fa
      https://github.com/llvm/llvm-project/commit/8677f6470103b6af093f57f79c18c4f81912c5fa
  Author: Snehasish Kumar <snehasishk at google.com>
  Date:   2025-03-21 (Fri, 21 Mar 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.

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.


Compare: https://github.com/llvm/llvm-project/compare/24e557330e41%5E...8677f6470103

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