[PATCH] D30767: Updates branch_weights annotation for call instructions during inlining.
Dehao Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 8 17:13:38 PST 2017
danielcdh created this revision.
Inliner should update the branch_weights annotation to scale it to proper value.
https://reviews.llvm.org/D30767
Files:
include/llvm/IR/Instruction.h
lib/IR/Instruction.cpp
lib/Transforms/Utils/InlineFunction.cpp
test/Transforms/Inline/prof-update.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30767.91112.patch
Type: text/x-patch
Size: 6791 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170309/3c665ce0/attachment.bin>
More information about the llvm-commits
mailing list