[PATCH] D40751: [ICP] Expose unconditional call promotion interface

Matthew Simpson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 12 10:08:36 PST 2017


mssimpso updated this revision to Diff 126569.
mssimpso marked 3 inline comments as done.
mssimpso added a comment.

Addressed David's comments. Thanks for the feedback!

- Moved `demoteCall` to https://reviews.llvm.org/D39869.
- Added comments with example code snippets to the basic transformations.


https://reviews.llvm.org/D40751

Files:
  include/llvm/Transforms/Utils/CallPromotionUtils.h
  lib/Transforms/IPO/SampleProfile.cpp
  lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
  lib/Transforms/Utils/CallPromotionUtils.cpp
  test/Transforms/PGOProfile/icp_covariant_call_return.ll
  test/Transforms/PGOProfile/icp_covariant_invoke_return.ll
  test/Transforms/PGOProfile/icp_invoke.ll
  test/Transforms/PGOProfile/icp_invoke_nouse.ll
  test/Transforms/PGOProfile/icp_vararg.ll
  test/Transforms/PGOProfile/indirect_call_promotion.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40751.126569.patch
Type: text/x-patch
Size: 29350 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171212/869489a7/attachment-0001.bin>


More information about the llvm-commits mailing list