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

Mircea Trofin via All-commits all-commits at lists.llvm.org
Fri Jan 10 15:30:46 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 064087581ab98cca7254b4d0f12ecbed13da2692
      https://github.com/llvm/llvm-project/commit/064087581ab98cca7254b4d0f12ecbed13da2692
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2020-01-10 (Fri, 10 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

Reviewed By: davidxl

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