[PATCH] D29040: Explicitly promote indirect calls before sample profile annotation.

Dehao Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 30 15:36:01 PST 2017


danielcdh updated this revision to Diff 86360.
danielcdh added a comment.

add legality check and according tests.


https://reviews.llvm.org/D29040

Files:
  lib/Transforms/IPO/SampleProfile.cpp
  test/Transforms/SampleProfile/Inputs/indirect-call.prof
  test/Transforms/SampleProfile/indirect-call.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29040.86360.patch
Type: text/x-patch
Size: 4812 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170130/bf9c0826/attachment.bin>


More information about the llvm-commits mailing list