summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2017-01-31 17:49:37 +0000
committerDehao Chen <dehao@google.com>2017-01-31 17:49:37 +0000
commit274df5ea4135e4bab5ce1f59282ce21a4d255750 (patch)
tree4856d7f123756ae6bf20c56772234abb62011ce4 /llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
parentc0abce81c1985a3092beb21bad452e8bdfa271b1 (diff)
downloadbcm5719-llvm-274df5ea4135e4bab5ce1f59282ce21a4d255750.tar.gz
bcm5719-llvm-274df5ea4135e4bab5ce1f59282ce21a4d255750.zip
Explicitly promote indirect calls before sample profile annotation.
Summary: In iterative sample pgo where profile is collected from PGOed binary, we may see indirect call targets promoted and inlined in the profile. Before profile annotation, we need to make this happen in order to annotate correctly on IR. This patch explicitly promotes these indirect calls and inlines them before profile annotation. Reviewers: xur, davidxl Reviewed By: davidxl Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D29040 llvm-svn: 293657
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud