[PATCH] D141393: [llvm][ir] Purge MD_prof custom accessors
Christian Ulmann via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 10 08:42:01 PST 2023
Dinistro created this revision.
Herald added subscribers: Enna1, ormris, hiraditya.
Herald added a project: All.
Dinistro requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This commit purges direct accesses to MD_prof metadata and replaces them
with the accessors provided from the utility file wherever possible.
This commit can be seen as the first step towards switching the branch weights to 64 bits.
See post here: https://discourse.llvm.org/t/extend-md-prof-branch-weights-metadata-from-32-to-64-bits/67492
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D141393
Files:
llvm/include/llvm/Analysis/CFGPrinter.h
llvm/include/llvm/IR/Instructions.h
llvm/include/llvm/IR/ProfDataUtils.h
llvm/lib/Analysis/BranchProbabilityInfo.cpp
llvm/lib/IR/Instruction.cpp
llvm/lib/IR/Instructions.cpp
llvm/lib/IR/Metadata.cpp
llvm/lib/IR/ProfDataUtils.cpp
llvm/lib/Transforms/IPO/PartialInlining.cpp
llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
llvm/lib/Transforms/Scalar/JumpThreading.cpp
llvm/lib/Transforms/Scalar/LoopPredication.cpp
llvm/lib/Transforms/Utils/Local.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141393.487819.patch
Type: text/x-patch
Size: 18189 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230110/562f4172/attachment.bin>
More information about the llvm-commits
mailing list