[all-commits] [llvm/llvm-project] 5fd51f: Reland "[mlgo] Hook up the interactive runner to t...
Mircea Trofin via All-commits
all-commits at lists.llvm.org
Fri Feb 3 17:54:59 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5fd51fcba6a5d675e60a59b4ed6c449efe70f41b
https://github.com/llvm/llvm-project/commit/5fd51fcba6a5d675e60a59b4ed6c449efe70f41b
Author: Mircea Trofin <mtrofin at google.com>
Date: 2023-02-03 (Fri, 03 Feb 2023)
Changed paths:
M llvm/include/llvm/Analysis/InlineModelFeatureMaps.h
M llvm/include/llvm/Analysis/InteractiveModelRunner.h
M llvm/include/llvm/Analysis/MLModelRunner.h
M llvm/include/llvm/Analysis/ReleaseModeModelRunner.h
M llvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp
M llvm/lib/Analysis/InlineAdvisor.cpp
M llvm/lib/Analysis/MLInlineAdvisor.cpp
A llvm/lib/Analysis/models/interactive_host.py
M llvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp
M llvm/lib/CodeGen/MLRegallocPriorityAdvisor.cpp
M llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp
M llvm/lib/CodeGen/RegAllocPriorityAdvisor.cpp
A llvm/test/CodeGen/MLRegalloc/Inputs/interactive_main.py
A llvm/test/CodeGen/MLRegalloc/interactive-mode.ll
A llvm/test/Transforms/Inline/ML/Inputs/interactive_main.py
A llvm/test/Transforms/Inline/ML/interactive-mode.ll
Log Message:
-----------
Reland "[mlgo] Hook up the interactive runner to the mlgo-ed passes"
This reverts commit a772f0bb920a4957fb94dd8dbe45943809fd0ec3.
The main problem was related to how we handled `dbgs()` from the hosted
compiler. Using explicit `subprocess.communicate`, and not relying on
dbgs() being flushed until the end appears to address the problem.
Also some fixes due to some bots running older pythons, so we can't have
nice things like `int | float` and such.
More information about the All-commits
mailing list