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

Aiden Grossman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 7 21:20:09 PST 2023


aidengrossman updated this revision to Diff 495720.
aidengrossman added a comment.

Move infrastructure from separate MachineFunctionPass to within AsmPrinter.
This should reduce maintenance, make it less likely that the pass ever gets
moved around in the pipeline in a manner that causes it to cease to function,
and doesn't need modificatio of the pass pipeline tests.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143311/new/

https://reviews.llvm.org/D143311

Files:
  llvm/include/llvm/CodeGen/AsmPrinter.h
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/test/CodeGen/MLRegalloc/bb-profile-dump.ll

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


More information about the llvm-commits mailing list