[PATCH] D128858: [llvm] Provide utility function for MD_prof
Paul Kirth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 26 15:55:19 PDT 2022
paulkirth updated this revision to Diff 447862.
paulkirth added a comment.
respond to comments
- Modify API name for extracting the total weight to match the existing API.
- Add specialized version of extractBranchWeights for branches and selects to ease replacing uses in LLVM.
- Replace checks on values of metadata w/ asserts that the metadata is not malformed
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128858/new/
https://reviews.llvm.org/D128858
Files:
llvm/include/llvm/IR/ProfDataUtils.h
llvm/lib/IR/CMakeLists.txt
llvm/lib/IR/ProfDataUtils.cpp
llvm/unittests/Transforms/Utils/CMakeLists.txt
llvm/unittests/Transforms/Utils/ProfDataUtilTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128858.447862.patch
Type: text/x-patch
Size: 11286 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220726/a5a7261d/attachment.bin>
More information about the llvm-commits
mailing list