[all-commits] [llvm/llvm-project] ed2dea: [nfc][regalloc] Make the max inference cutoff conf...
Mircea Trofin via All-commits
all-commits at lists.llvm.org
Wed Feb 2 07:30:10 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ed2deab5956fea9e8f64ef6020fe0b4e19734ecc
https://github.com/llvm/llvm-project/commit/ed2deab5956fea9e8f64ef6020fe0b4e19734ecc
Author: Mircea Trofin <mtrofin at google.com>
Date: 2022-02-02 (Wed, 02 Feb 2022)
Changed paths:
M llvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp
M llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp
Log Message:
-----------
[nfc][regalloc] Make the max inference cutoff configurable
Added a flag to make configurable the number of interferences after
which we 'bail out' and treat a set of intervals as un-evictable. Also
using it on the ML side, as it turns out to be a good control for
compile-time.
With this configurable, we can do a bit of trial and error and see if
bumping it has any effect on heuristic/policy quality.
Differential Revision: https://reviews.llvm.org/D118707
More information about the All-commits
mailing list