[PATCH] D28965: [PGO] Value profile for size of memory intrinsic calls

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 24 17:21:11 PST 2017


xur updated this revision to Diff 85665.
xur added a comment.

Update  the patch based on David's review comments.

(1) remove instrprof_value_rang_profile intrinsic and use existing instrprof_value_profile and used valuekind to distinguish different value profile.
(2) enclose most of the implementation details in value profile lowering.


https://reviews.llvm.org/D28965

Files:
  include/llvm/ProfileData/InstrProf.h
  include/llvm/ProfileData/InstrProfData.inc
  lib/Transforms/Instrumentation/InstrProfiling.cpp
  lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  test/Instrumentation/InstrProfiling/PR23499.ll
  test/Instrumentation/InstrProfiling/icall.ll
  test/Transforms/PGOProfile/comdat_internal.ll
  test/Transforms/PGOProfile/memcpy.ll
  tools/llvm-profdata/llvm-profdata.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28965.85665.patch
Type: text/x-patch
Size: 23741 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170125/1ebe5c2e/attachment.bin>


More information about the llvm-commits mailing list