[PATCH] D28867: [Profile] Warn about out-of-date profiles only when there are mismatches

Rong Xu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 18 11:47:35 PST 2017


xur added a comment.

This change gonna hide the missing profile for a function permanently if there is no mismatch. Like, if a user adds a new function without changing existing functions, he will never get a warning if using the old profiles.

In LLVM IR level PGO, we also find the missing profile warning sometime too verbose. We turn missing profile off by default, but not depending on mismatch. I think that is a better method.


https://reviews.llvm.org/D28867





More information about the cfe-commits mailing list