[all-commits] [llvm/llvm-project] c965fd: Cost Annotation Writer for InlineCost

arpilipe via All-commits all-commits at lists.llvm.org
Wed Feb 26 17:03:59 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c965fd942f1d2de6179cd1a2f78c78fa4bd74626
      https://github.com/llvm/llvm-project/commit/c965fd942f1d2de6179cd1a2f78c78fa4bd74626
  Author: Kirill Naumov <knaumov at azul.com>
  Date:   2020-02-26 (Wed, 26 Feb 2020)

  Changed paths:
    M llvm/lib/Analysis/InlineCost.cpp
    A llvm/test/Transforms/Inline/debuginline-cost-delta.ll

  Log Message:
  -----------
  Cost Annotation Writer for InlineCost

Add extra diagnostics for the inline cost analysis under
-print-instruction-deltas cl option. When enabled along with
-debug-only=inline-cost it prints the IR of inline candidate
annotated with cost and threshold change per every instruction.

Reviewed By: apilipenko, davidxl, mtrofin

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




More information about the All-commits mailing list