[PATCH] D80618: Extend InvokeInst !prof branch_weights metadata to unwind branches
David Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 28 09:50:28 PDT 2020
davidxl added inline comments.
================
Comment at: llvm/lib/IR/Instruction.cpp:760
-void Instruction::setProfWeight(uint64_t W) {
+bool Instruction::copyProfWeights(const Instruction &SrcCB) {
assert(isa<CallBase>(this) &&
----------------
naming nit: copyProfData or copyProfMetadata because it copies branchweights and VP data
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80618/new/
https://reviews.llvm.org/D80618
More information about the llvm-commits
mailing list