[PATCH] D30218: Use base discriminator in sample pgo profile matching.

Dehao Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 21 11:00:01 PST 2017


danielcdh created this revision.

The discriminator has been encoded, and only the base discriminator should be used during profile matching.


https://reviews.llvm.org/D30218

Files:
  lib/Transforms/IPO/SampleProfile.cpp
  test/Transforms/SampleProfile/calls.ll
  test/Transforms/SampleProfile/cov-zero-samples.ll
  test/Transforms/SampleProfile/discriminator.ll
  test/Transforms/SampleProfile/inline-coverage.ll
  test/Transforms/SampleProfile/inline.ll
  test/Transforms/SampleProfile/propagate.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30218.89249.patch
Type: text/x-patch
Size: 10965 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170221/7356605c/attachment.bin>


More information about the llvm-commits mailing list