[llvm] [mlir] [MLGO] Do not hardcode 33 eviction feature columns (PR #224598)

Arseniy Obolenskiy via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 02:55:48 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;
----------------
aobolensk wrote:

yes

https://github.com/llvm/llvm-project/pull/224598


More information about the llvm-commits mailing list