Fine tuning of sample profile propagation algorithm.
authorDehao Chen <dehao@google.com>
Fri, 12 Aug 2016 16:22:12 +0000 (16:22 +0000)
committerDehao Chen <dehao@google.com>
Fri, 12 Aug 2016 16:22:12 +0000 (16:22 +0000)
commitc0a1e432c7565e28f437757cc31d6efe09db874b
tree670e6733a48623ede37b515fb9bf360644340972
parent4a1e87d9c6c62a3c08982193ccec0540487b0156
Fine tuning of sample profile propagation algorithm.

Summary: The refined propagation algorithm is more accurate and robust.

Reviewers: davidxl, dnovillo

Subscribers: llvm-commits

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

llvm-svn: 278522
llvm/lib/Transforms/IPO/SampleProfile.cpp
llvm/test/Transforms/SampleProfile/Inputs/branch.prof
llvm/test/Transforms/SampleProfile/Inputs/fnptr.binprof
llvm/test/Transforms/SampleProfile/Inputs/fnptr.prof
llvm/test/Transforms/SampleProfile/branch.ll
llvm/test/Transforms/SampleProfile/calls.ll
llvm/test/Transforms/SampleProfile/discriminator.ll
llvm/test/Transforms/SampleProfile/entry_counts.ll
llvm/test/Transforms/SampleProfile/fnptr.ll
llvm/test/Transforms/SampleProfile/offset.ll
llvm/test/Transforms/SampleProfile/propagate.ll