[all-commits] [llvm/llvm-project] 6a5d7d: [InlineCost] InlineCostAnnotationWriterPass introd...

KirillVNaumov via All-commits all-commits at lists.llvm.org
Wed Jun 24 14:27:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a5d7d498c0b16b13ace802f422b223eb510c303
      https://github.com/llvm/llvm-project/commit/6a5d7d498c0b16b13ace802f422b223eb510c303
  Author: Kirill Naumov <knaumov at azul.com>
  Date:   2020-06-24 (Wed, 24 Jun 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/InlineCost.h
    M llvm/lib/Analysis/InlineCost.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/test/Transforms/Inline/debuginline-cost-delta.ll
    A llvm/test/Transforms/Inline/inline-cost-annotation-pass.ll
    R llvm/test/Transforms/Inline/print-instructions-deltas-unfinished.ll

  Log Message:
  -----------
  [InlineCost] InlineCostAnnotationWriterPass introduced

This class allows to see the inliner's decisions for better
optimization verifications and tests. To use, use flag
"-passes="print<inline-cost>"".

This is the second attempt to integrate the patch.
The problem from the first try has been discussed and
fixed in D82205.

Reviewers: apilipenko, mtrofin, davidxl, fedor.sergeev

Reviewed By: mtrofin

Differential revision: https://reviews.llvm.org/D81743




More information about the All-commits mailing list