[llvm] [RegAllocEvictAdvisor] Add minimum weight ratio heuristic. (PR #98109)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 21:03:40 PDT 2024


================
@@ -44,6 +44,12 @@ static cl::opt<bool> EnableLocalReassignment(
              "may be compile time intensive"),
     cl::init(false));
 
+static cl::opt<float> MinWeightRatioNeededToEvictHint(
+    "min-weight-ratio-needed-to-evict-hint", cl::Hidden,
+    cl::desc("The minimum ration of weights needed in order for the live range with bigger weight to evict the other live range which"
----------------
mtrofin wrote:

s/ration/ratio

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


More information about the llvm-commits mailing list