mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-20 19:04:10 -04:00
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309964 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user