diff options
author | Dehao Chen <dehao@google.com> | 2017-08-03 17:11:41 +0000 |
---|---|---|
committer | Dehao Chen <dehao@google.com> | 2017-08-03 17:11:41 +0000 |
commit | f58df39529060196b8ead812521b3a98ccd8abc3 (patch) | |
tree | 42d6bf4dfe41909cf5cd0f38c58523b7b0ea9cc0 /llvm/test/Bitcode/Inputs | |
parent | 99d0ab38bc187f644900faf514109bafa4d060c3 (diff) | |
download | bcm5719-llvm-f58df39529060196b8ead812521b3a98ccd8abc3.tar.gz bcm5719-llvm-f58df39529060196b8ead812521b3a98ccd8abc3.zip |
Do not want to use BFI to get profile count for sample pgo
Summary: For SamplePGO, we already record the callsite count in the call instruction itself. So we do not want to use BFI to get profile count as it is less accurate.
Reviewers: tejohnson, davidxl, eraman
Reviewed By: eraman
Subscribers: sanjoy, llvm-commits, mehdi_amini
Differential Revision: https://reviews.llvm.org/D36025
llvm-svn: 309964
Diffstat (limited to 'llvm/test/Bitcode/Inputs')
-rw-r--r-- | llvm/test/Bitcode/Inputs/thinlto-function-summary-callgraph-sample-profile-summary.ll | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/Inputs/thinlto-function-summary-callgraph-sample-profile-summary.ll b/llvm/test/Bitcode/Inputs/thinlto-function-summary-callgraph-sample-profile-summary.ll new file mode 100644 index 00000000000..ca69314e5fc --- /dev/null +++ b/llvm/test/Bitcode/Inputs/thinlto-function-summary-callgraph-sample-profile-summary.ll @@ -0,0 +1,31 @@ +; ModuleID = 'thinlto-function-summary-callgraph-profile-summary2.ll' +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" +target triple = "x86_64-unknown-linux-gnu" + +define void @hot1() #1 { + ret void +} +define void @hot2() #1 { + ret void +} +define void @hot3() #1 { + ret void +} +define void @cold1() #1 { + ret void +} +define void @cold2() #1 { + ret void +} +define void @cold3() #1 { + ret void +} +define void @none1() #1 { + ret void +} +define void @none2() #1 { + ret void +} +define void @none3() #1 { + ret void +} |