[all-commits] [llvm/llvm-project] 3f96f7: Fix getInlineCost with ComputeFullInlineCost enabled

arpilipe via All-commits all-commits at lists.llvm.org
Thu Oct 14 17:48:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f96f7b30c91b912de1c6c7c03ab6a4c18e8aa26
      https://github.com/llvm/llvm-project/commit/3f96f7b30c91b912de1c6c7c03ab6a4c18e8aa26
  Author: Artur Pilipenko <apilipenko at azul.com>
  Date:   2021-10-14 (Thu, 14 Oct 2021)

  Changed paths:
    M llvm/lib/Analysis/InlineCost.cpp
    A llvm/test/Transforms/Inline/noduplicate.ll
    A llvm/test/Transforms/SampleProfile/inline-noduplicate.ll

  Log Message:
  -----------
  Fix getInlineCost with ComputeFullInlineCost enabled

Fix a bug when getInlineCost incorrectly returns a
cost/threshold pair instead of an explicit never inline.

Reviewed By: mtrofin
Differential Revision: https://reviews.llvm.org/D111687




More information about the All-commits mailing list