[all-commits] [llvm/llvm-project] 201498: [llvm][NFC] Factor out cost-model independent inli...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Thu Apr 23 11:15:21 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 201498c6f34ef1a052d9c3f46cfdf4263606f232
      https://github.com/llvm/llvm-project/commit/201498c6f34ef1a052d9c3f46cfdf4263606f232
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2020-04-23 (Thu, 23 Apr 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/InlineCost.h
    M llvm/lib/Analysis/InlineCost.cpp

  Log Message:
  -----------
  [llvm][NFC] Factor out cost-model independent inling decision

Summary:
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.

Reviewers: davidxl, eraman

Reviewed By: davidxl, eraman

Subscribers: hiraditya, haicheng, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73825




More information about the All-commits mailing list