[PATCH] D39869: [Inliner] Inline through indirect call sites having !callees metadata

Matthew Simpson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 17 13:03:51 PDT 2018


mssimpso updated this revision to Diff 142819.
mssimpso marked 5 inline comments as done.
mssimpso added a comment.

Addressed Easwaran's comments. Thanks again!

- Added a command line option to limit the number of callees that are inlined for a given indirect call site.
- Changed tests to not run simplification after inlining.
- Renamed setInlined to setCallSiteRemoved.
- Addressed the remaining comments for CallPromotionUtils.


Repository:
  rL LLVM

https://reviews.llvm.org/D39869

Files:
  include/llvm/Transforms/Utils/CallPromotionUtils.h
  lib/Transforms/IPO/Inliner.cpp
  lib/Transforms/Utils/CallPromotionUtils.cpp
  test/Other/new-pm-defaults.ll
  test/Other/new-pm-thinlto-defaults.ll
  test/Transforms/Inline/callees-metadata.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39869.142819.patch
Type: text/x-patch
Size: 46376 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180417/7bd42992/attachment-0001.bin>


More information about the llvm-commits mailing list