[PATCH] D28584: Add is{Hot|Cold}CallSite and an unit test to ProfileSummaryInfo

Easwaran Raman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 12 11:19:29 PST 2017


eraman updated this revision to Diff 84149.
eraman added a comment.

Check MD_prof metadata on calls and branches to determine hotness only when it is sample profile and fix the unittest.


https://reviews.llvm.org/D28584

Files:
  include/llvm/Analysis/ProfileSummaryInfo.h
  lib/Analysis/ProfileSummaryInfo.cpp
  unittests/Analysis/CMakeLists.txt
  unittests/Analysis/ProfileSummaryInfoTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28584.84149.patch
Type: text/x-patch
Size: 10923 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170112/ca4b4aea/attachment.bin>


More information about the llvm-commits mailing list