[PATCH] Simplify format of profile input file.

Diego Novillo dnovillo at google.com
Mon Dec 16 13:16:43 PST 2013


Hi chandlerc,

This implements earlier suggestions to simplify the format of
the sample profile file. The symbol table is not necessary and
function profiles do not need to know the number of samples in
advance.

OK to commit?

http://llvm-reviews.chandlerc.com/D2419

Files:
  lib/Transforms/Scalar/SampleProfile.cpp
  test/Transforms/SampleProfile/Inputs/bad_fn_header.prof
  test/Transforms/SampleProfile/Inputs/bad_sample_line.prof
  test/Transforms/SampleProfile/Inputs/branch.prof
  test/Transforms/SampleProfile/Inputs/calls.prof
  test/Transforms/SampleProfile/Inputs/missing_num_syms.prof
  test/Transforms/SampleProfile/Inputs/missing_samples.prof
  test/Transforms/SampleProfile/Inputs/missing_symtab.prof
  test/Transforms/SampleProfile/Inputs/propagate.prof
  test/Transforms/SampleProfile/Inputs/syntax.prof
  test/Transforms/SampleProfile/syntax.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2419.1.patch
Type: text/x-patch
Size: 9505 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131216/9e8bfd0c/attachment.bin>


More information about the llvm-commits mailing list