[all-commits] [llvm/llvm-project] 76f258: [MLGO] Do not include urgent LRs in max cascade ca...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Mon Dec 16 07:14:56 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76f258920d3baf32be297f60bee5b8520f195c25
      https://github.com/llvm/llvm-project/commit/76f258920d3baf32be297f60bee5b8520f195c25
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

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

  Log Message:
  -----------
  [MLGO] Do not include urgent LRs in max cascade calculation (#120052)

A previous PR introduced a threshold where we would mask out a LR that
had been evicted a certain number of times to combat pathological
compile time cases with a somewhat adversarial model. However, this
patch did not take into account urgent LRs which led to compilation
failures when greedy would expect us to provide an eviction and we could
not due to the newly introduced logic.



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