[PATCH] D147954: [SimplifyCFG] Merge branch_weights for direct callsites and introduce options to preserve value profile for indirect callsites

Mingming Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 18 16:02:22 PDT 2023


mingmingl updated this revision to Diff 514775.
mingmingl marked an inline comment as done.
mingmingl added a comment.

undo unrelated change around comment as suggested.


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

https://reviews.llvm.org/D147954

Files:
  llvm/include/llvm/IR/Metadata.h
  llvm/include/llvm/Transforms/Utils/SimplifyCFGOptions.h
  llvm/lib/IR/Metadata.cpp
  llvm/lib/Passes/PassBuilder.cpp
  llvm/lib/Transforms/Utils/Local.cpp
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/Transforms/SimplifyCFG/merge-direct-call-branch-weights-in-hoist.ll
  llvm/test/Transforms/SimplifyCFG/merge-direct-call-branch-weights-in-sink.ll
  llvm/test/Transforms/SimplifyCFG/preserve-call-metadata-in-hoist.ll
  llvm/test/Transforms/SimplifyCFG/preserve-call-metadata-in-sink.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147954.514775.patch
Type: text/x-patch
Size: 28248 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230418/37c44d59/attachment.bin>


More information about the llvm-commits mailing list