[PATCH] D37084: Add test to cover accurate-sample-profile.

Dehao Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 23 16:10:29 PDT 2017


danielcdh added a comment.

In https://reviews.llvm.org/D37084#850855, @davidxl wrote:

> What happens if caller is hot, and the callee (missing profile) is unconditionally called by the caller? Will it still be treated as cold?


Yes, it will be treated as cold. In practice, if the caller is hot and callsite is missing profile, it is most likely it is cold.


https://reviews.llvm.org/D37084





More information about the llvm-commits mailing list