[all-commits] [llvm/llvm-project] 1ce16b: [RegAllocEvictionAdvisor] Make the local reassign ...

Quentin Colombet via All-commits all-commits at lists.llvm.org
Mon Sep 14 13:18:23 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ce16b4a5fd640ba44518980e3391789d3ab30fa
      https://github.com/llvm/llvm-project/commit/1ce16b4a5fd640ba44518980e3391789d3ab30fa
  Author: Quentin Colombet <quentin.colombet at gmail.com>
  Date:   2026-09-14 (Mon, 14 Sep 2026)

  Changed paths:
    M llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp
    M llvm/test/CodeGen/AMDGPU/regalloc-spill-wmma-scale.ll

  Log Message:
  -----------
  [RegAllocEvictionAdvisor] Make the local reassign option more useful (#223115)

Prior to this patch the CLI option for the local reassignment heuristic
could only force enabling the local reassignment heuristic. In other
words, there was no way to disable the heuristic if the target hook said
otherwise, which defeated the purpose of the option.

Fix this by ensuring that when the option is set it takes precedence
over the target hook. This makes experimenting with the local
reassignment heuristic much easier.

The patch is NFC unless you set the option.

Test by: Daniil Fukalov <daniil.fukalov at amd.com> assisted by GPT-6 Astra



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