[PATCH] D73825: [llvm][NFC] Factor out cost-model independent inling decision

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 31 20:29:34 PST 2020


mtrofin created this revision.
mtrofin added reviewers: davidxl, eraman.
Herald added subscribers: llvm-commits, haicheng, hiraditya.
Herald added a project: LLVM.

llvm::getInlineCost starts off by determining whether inlining should
happen or not because of user directives or easily determinable
unviability. This CL refactors this functionality as a reusable API.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D73825

Files:
  llvm/include/llvm/Analysis/InlineCost.h
  llvm/lib/Analysis/InlineCost.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73825.241861.patch
Type: text/x-patch
Size: 5760 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200201/3ce41c00/attachment.bin>


More information about the llvm-commits mailing list