[PATCH] D31154: Use ProfileSummary:getProfileCount to get ScaledCount for ModuleSummary

Dehao Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 20 18:22:17 PDT 2017


danielcdh marked an inline comment as done.
danielcdh added inline comments.


================
Comment at: test/Bitcode/thinlto-function-summary-callgraph-profile-summary.ll:53
   call void @hot2()
+  call void @hot4(), !prof !15
   call void @none1()
----------------
tejohnson wrote:
> Do we get a profile count on a call instruction that gives a different weight than the enclosing BB only for SamplePGO I guess?
Yes, only SamplePGO sets the profile count on call instructions.


https://reviews.llvm.org/D31154





More information about the llvm-commits mailing list