[PATCH] D143311: [MLGO] Add BB Profile Dump Pass for Regalloc Case

Aiden Grossman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 3 22:56:05 PST 2023


aidengrossman created this revision.
Herald added subscribers: mtrofin, hiraditya, qcolombet, MatzeB.
Herald added a project: All.
aidengrossman requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch adds a basic block profile dump pass that runs right before
asmprint time and dumps basic block profile information so that cost
models can use this data during downstream analysis.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143311

Files:
  llvm/include/llvm/CodeGen/Passes.h
  llvm/include/llvm/InitializePasses.h
  llvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp
  llvm/lib/CodeGen/TargetPassConfig.cpp
  llvm/test/CodeGen/MLRegalloc/bb-profile-dump.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143311.494793.patch
Type: text/x-patch
Size: 5692 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230204/f5a511a1/attachment.bin>


More information about the llvm-commits mailing list