[all-commits] [llvm/llvm-project] c6b9b7: [NFC][Regalloc] Factor out eviction decision from ...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Tue Nov 16 10:50:46 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6b9b702a049ba96294f174983016e8b3e11afb0
      https://github.com/llvm/llvm-project/commit/c6b9b702a049ba96294f174983016e8b3e11afb0
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2021-11-16 (Tue, 16 Nov 2021)

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

  Log Message:
  -----------
  [NFC][Regalloc] Factor out eviction decision from eviction attempt

This splits tryEvict into a const tryFindEvictionCandidate, which
attempts to find a candidate, and the actual eviction (should the former
be successful)

The newly introduced tryFindEvictionCandidate will move subsequently
into the RegAllocEvictionAdvisor.

RFC: https://lists.llvm.org/pipermail/llvm-dev/2021-November/153639.html

Differential Revision: https://reviews.llvm.org/D113941




More information about the All-commits mailing list