[PATCH] D44847: [profile] Fix value profile runtime merging issues

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 30 13:35:38 PDT 2018


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

This is the updated patch.  It fixed some issues in previous patch. It also adds a new API for updating value-count in batch mode. Without this, PGO instrumented Clang incurs 20x slow down in building itself (with %9m prefix -- with %m is even greater slowdown ).


https://reviews.llvm.org/D44847

Files:
  lib/profile/InstrProfiling.h
  lib/profile/InstrProfilingFile.c
  lib/profile/InstrProfilingMerge.c
  lib/profile/InstrProfilingMergeFile.c
  lib/profile/InstrProfilingValue.c
  test/profile/instrprof-value-merge.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44847.140479.patch
Type: text/x-patch
Size: 9115 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180330/fd90926d/attachment.bin>


More information about the llvm-commits mailing list