[all-commits] [llvm/llvm-project] f1dbc4: [MLGO] Properly Handle Counting Evictions of Candi...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Tue Mar 4 23:20:15 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f1dbc45210cec766bed7dd320ed9420484ac3ec6
      https://github.com/llvm/llvm-project/commit/f1dbc45210cec766bed7dd320ed9420484ac3ec6
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-03-05 (Wed, 05 Mar 2025)

  Changed paths:
    M llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp

  Log Message:
  -----------
  [MLGO] Properly Handle Counting Evictions of Candidates

This patch makes it so that onEviction actually gets called when the
model ends up selecting the candidate to evict. Where we were handling
this previously ended up being dead code as we would return earlier with
MCRegister::NoRegister.

Fixes #129841.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list