[PATCH] D142168: [mlgo] Stream the training data

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 19 17:39:24 PST 2023


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

This leverages the new logging format in that we don't need to buffer
the training data, we can just write it out.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D142168

Files:
  llvm/include/llvm/Analysis/Utils/TrainingLogger.h
  llvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp
  llvm/lib/Analysis/TrainingLogger.cpp
  llvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp
  llvm/lib/CodeGen/MLRegallocPriorityAdvisor.cpp
  llvm/test/CodeGen/MLRegalloc/dev-mode-logging.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142168.490691.patch
Type: text/x-patch
Size: 28322 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230120/509d9a44/attachment.bin>


More information about the llvm-commits mailing list