[PATCH] D14547: [llvm-profdata] Add support for weighted merge of profile data

Nathan Slingerland via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 13 19:46:59 PST 2015


slingn updated this revision to Diff 40201.
slingn marked 2 inline comments as done.
slingn added a comment.

Updated for dnovillo, davidxl and silvas feedback.

-Changed to use ':<weight>' file suffix rather than add a --weights=N,M option.
-Refectored so that weights are applied in narrower scope (aka 'Single Point of Truth')


http://reviews.llvm.org/D14547

Files:
  docs/CommandGuide/llvm-profdata.rst
  include/llvm/ProfileData/InstrProf.h
  include/llvm/ProfileData/SampleProf.h
  include/llvm/Support/MathExtras.h
  lib/ProfileData/InstrProfWriter.cpp
  test/tools/llvm-profdata/Inputs/weight-instr-bar.profdata
  test/tools/llvm-profdata/Inputs/weight-instr-foo.profdata
  test/tools/llvm-profdata/Inputs/weight-sample-bar.proftext
  test/tools/llvm-profdata/Inputs/weight-sample-foo.proftext
  test/tools/llvm-profdata/weight-instr.test
  test/tools/llvm-profdata/weight-sample.test
  tools/llvm-profdata/llvm-profdata.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14547.40201.patch
Type: text/x-patch
Size: 20926 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151114/675d9ed4/attachment.bin>


More information about the llvm-commits mailing list