[all-commits] [llvm/llvm-project] a95aa8: [MLGO] Add BB Profile Dump in AsmPrinter

Aiden Grossman via All-commits all-commits at lists.llvm.org
Wed Feb 8 15:14:19 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a95aa86b538f643cde8502a58e2ce8804e895e96
      https://github.com/llvm/llvm-project/commit/a95aa86b538f643cde8502a58e2ce8804e895e96
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-02-08 (Wed, 08 Feb 2023)

  Changed paths:
    A core
    M llvm/include/llvm/CodeGen/AsmPrinter.h
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    A llvm/test/CodeGen/MLRegalloc/bb-profile-dump.ll

  Log Message:
  -----------
  [MLGO] Add BB Profile Dump in AsmPrinter

This patch adds a basic block profile dump option within the AsmPrinter
and dumps basic block profile information so that cost models can use
the data for downstream analysis.

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




More information about the All-commits mailing list