[PATCH] D148877: [PGO]Implement metadata combine for 'branch_weights' of direct callsites when none of the instructions folds the rest away

Mingming Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 13:05:42 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb3cb950cf3d1: [PGO]Implement metadata combine for 'branch_weights' of direct (authored by mingmingl).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148877/new/

https://reviews.llvm.org/D148877

Files:
  llvm/include/llvm/IR/Metadata.h
  llvm/lib/IR/Metadata.cpp
  llvm/lib/Transforms/Utils/Local.cpp
  llvm/test/Transforms/GVN/calls-readonly.ll
  llvm/test/Transforms/SimplifyCFG/merge-direct-call-branch-weights-in-hoist.ll
  llvm/test/Transforms/SimplifyCFG/merge-direct-call-branch-weights-in-sink.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148877.517687.patch
Type: text/x-patch
Size: 12254 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230427/78540431/attachment-0001.bin>


More information about the llvm-commits mailing list