]> granicus.if.org Git - llvm/commit
Update VP prof metadata during inlining.
authorDehao Chen <dehao@google.com>
Fri, 5 May 2017 00:47:34 +0000 (00:47 +0000)
committerDehao Chen <dehao@google.com>
Fri, 5 May 2017 00:47:34 +0000 (00:47 +0000)
commitc6a0731aa0aa65c3e17f93653900170b0a181b4b
treed9388f954b6fcb7aaebe7af3448af7b7540de01f
parent8038a28b4ba6b4d3655a19ef3cc2ec4a577caac4
Update VP prof metadata during inlining.

Summary: r298270 added profile update logic for branch_weights. This patch implements profile update logic for VP prof metadata too.

Reviewers: eraman, tejohnson, davidxl

Reviewed By: eraman

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D32773

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302209 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Instruction.cpp
test/Transforms/Inline/prof-update.ll