[all-commits] [llvm/llvm-project] 2bb2f8: [CodeGen] Remove experimental deferred spilling fr...

Philip Reames via All-commits all-commits at lists.llvm.org
Thu May 1 08:12:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2bb2f8ab49d66cc2ebacd099d70fb80a5f13d9b2
      https://github.com/llvm/llvm-project/commit/2bb2f8ab49d66cc2ebacd099d70fb80a5f13d9b2
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2025-05-01 (Thu, 01 May 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/RegAllocEvictionAdvisor.h
    M llvm/include/llvm/CodeGen/TargetRegisterInfo.h
    M llvm/lib/CodeGen/RegAllocGreedy.cpp

  Log Message:
  -----------
  [CodeGen] Remove experimental deferred spilling from GreedyRegAlloc (#137850)

This experimental option was introduced in 2015 via commit 1192294, and
the target hook was added in 2020 via commit 99e865b6. There does not
appear to have ever been a use of this target hook in tree.

This code is complicating one of the most complicated and hard to
understand parts of our code base, and was an experiment introduced
nearly 10 years ago. Let's get rid of it.

Note that the idea described in the original patch is not neccessarily a
bad one, and we might return to it someday.



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