[PATCH] D30799: Refactor the PSI to extract getCallSiteCount and remove checks for profile type.

Dehao Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 9 17:10:02 PST 2017


danielcdh created this revision.

There is no need to check profile count as only CallInst will have metadata attached.


https://reviews.llvm.org/D30799

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30799.91241.patch
Type: text/x-patch
Size: 5470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170310/7af70852/attachment.bin>


More information about the llvm-commits mailing list