[PATCH] D36025: Do not want to use BFI to get profile count for sample pgo

Easwaran Raman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 28 16:09:38 PDT 2017


eraman added a comment.

If the profile count based on BFI is completely reliable that you are discarding it, then shouldn't BFI->getProfileCount also return 0 for sampled profiling? I think this can end up in surprising behavior.


https://reviews.llvm.org/D36025





More information about the llvm-commits mailing list