Files
clang-p2996/llvm/test/Transforms/SampleProfile/Inputs/import.prof
Dehao Chen d26dae0d34 Separate the logic when handling indirect calls in SamplePGO ThinLTO compile phase and other phases.
Summary: In SamplePGO ThinLTO compile phase, we will not invoke ICP as it may introduce confusion to the 2nd annotation. This patch extracted that logic and makes it clearer before profile annotation. In the mean time, we need to make function importing process both inlined callsites as well as not promoted indirect callsites.

Reviewers: tejohnson

Reviewed By: tejohnson

Subscribers: sanjoy, mehdi_amini, llvm-commits, inglorion

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

llvm-svn: 314619
2017-10-01 05:24:51 +00:00

9 lines
110 B
Plaintext

test:10000:0
3: foo:1000
3: bar:200
4: baz:10
4: foo1:1000
1: 1000
4: foo2:1000
1: 1000 foo3:1000