[PATCH] D34082: [Frontend] 'Show hotness' can be used with a sampling profile

Adam Nemet via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 1 10:31:11 PST 2017


anemet added a subscriber: davide.
anemet added a comment.

@modocache, @davide, are you guys sure this feature is working?  The test does not actually check whether hotness is included in the remarks and when I run it manually they are missing.  In https://reviews.llvm.org/D40678, I am filtering out remarks with no hotness when any threshold is set all the remarks are filtered out in this new test.

So either the test is incorrect or somehow with sample-based profiling we don't get hotness info.

Any ideas?  I am inclined to just remove this test for now and file a bug to fix this in order to unblock https://reviews.llvm.org/D40678.


https://reviews.llvm.org/D34082





More information about the cfe-commits mailing list