[PATCH] D32877: Restrict call metadata based hotness detection to Sample PGO mode

Easwaran Raman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 5 14:42:29 PDT 2017


eraman added a comment.

I feel the underlying problem here is the use of VP metadata to get counts in sample PGO mode.  Dehao, even when VP metadata is available, can we add branch_weights to the call? Then, only sample PGO will annotate branch weights to calls and that won't affect instrumented PGO.


https://reviews.llvm.org/D32877





More information about the llvm-commits mailing list