[llvm] [mlir] [MLGO] Do not hardcode 33 eviction feature columns (PR #224598)
Mircea Trofin via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 29 17:06:32 PDT 2026
================
@@ -665,7 +689,7 @@ bool MLEvictAdvisor::loadInterferenceFeatures(
// The cascade tracking is the same as in the default advisor
unsigned Cascade = RA.getExtraInfo().getCascadeOrCurrentNext(VirtReg.reg());
- SmallVector<const LiveInterval *, MaxInterferences> InterferingIntervals;
+ SmallVector<const LiveInterval *, 32> InterferingIntervals;
----------------
mtrofin wrote:
you mean that 32 is a suggested size?
https://github.com/llvm/llvm-project/pull/224598
More information about the llvm-commits
mailing list