[all-commits] [llvm/llvm-project] 76aab6: [NFC][InlineCost] Factor cost modeling out of Call...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Wed Jan 8 17:16:41 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 76aab66d34446ccf764cf8127b73e1517df75fb4
      https://github.com/llvm/llvm-project/commit/76aab66d34446ccf764cf8127b73e1517df75fb4
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

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

  Log Message:
  -----------
  [NFC][InlineCost] Factor cost modeling out of CallAnalyzer traversal.

Summary:
The goal is to simplify experimentation on the cost model. Today,
CallAnalyzer decides 2 things: legality, and benefit. The refactoring
keeps legality assessment in CallAnalyzer, and factors benefit
evaluation out, as an extension.

Reviewers: davidxl, eraman

Subscribers: kamleshbhalui, fedor.sergeev, hiraditya, baloghadamsoftware, haicheng, a.sidorin, Szelethus, donat.nagy, dkrupp, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list