diff options
author | Easwaran Raman <eraman@google.com> | 2018-12-13 19:54:27 +0000 |
---|---|---|
committer | Easwaran Raman <eraman@google.com> | 2018-12-13 19:54:27 +0000 |
commit | 5a7056fa039d3fd5e241d7db8e44c063214ec4ca (patch) | |
tree | 8a046de580555ba4a5cc4b3d0cb03c7e874dfffb /llvm/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll | |
parent | 41c729e78ec61f47c9b44978a58b23120347d18f (diff) | |
download | bcm5719-llvm-5a7056fa039d3fd5e241d7db8e44c063214ec4ca.tar.gz bcm5719-llvm-5a7056fa039d3fd5e241d7db8e44c063214ec4ca.zip |
[ThinLTO] Compute synthetic function entry count
Summary:
This patch computes the synthetic function entry count on the whole
program callgraph (based on module summary) and writes the entry counts
to the summary. After function importing, this count gets attached to
the IR as metadata. Since it adds a new field to the summary, this bumps
up the version.
Reviewers: tejohnson
Subscribers: mehdi_amini, inglorion, llvm-commits
Differential Revision: https://reviews.llvm.org/D43521
llvm-svn: 349076
Diffstat (limited to 'llvm/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll')
-rw-r--r-- | llvm/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll b/llvm/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll index d7cf4d7deb2..e332224343e 100644 --- a/llvm/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll +++ b/llvm/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll @@ -30,7 +30,7 @@ ; COMBINED-NEXT: <COMBINED ; See if the call to func is registered, using the expected hotness type. ; op6=2 which is hotnessType::None. -; COMBINED-NEXT: <COMBINED_PROFILE {{.*}} op7=[[FUNCID]] op8=2/> +; COMBINED-NEXT: <COMBINED_PROFILE {{.*}} op8=[[FUNCID]] op9=2/> ; COMBINED-NEXT: </GLOBALVAL_SUMMARY_BLOCK> ; ModuleID = 'thinlto-function-summary-callgraph.ll' |