[all-commits] [llvm/llvm-project] 3f05e4: Reapply "RegAlloc: Fix verifier error after failed...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Feb 26 00:29:05 PST 2025


  Branch: refs/heads/users/arsenm/reapply-regalloc-fix-verifier-error-after-fail-pr119690
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f05e477328c3fbcfd8583ff38c4b40ff39ef03e
      https://github.com/llvm/llvm-project/commit/3f05e477328c3fbcfd8583ff38c4b40ff39ef03e
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-02-26 (Wed, 26 Feb 2025)

  Changed paths:
    M llvm/lib/CodeGen/RegAllocBase.cpp
    M llvm/lib/CodeGen/RegAllocBase.h
    M llvm/lib/CodeGen/RegAllocBasic.cpp
    M llvm/lib/CodeGen/RegAllocGreedy.cpp
    M llvm/test/CodeGen/AMDGPU/illegal-eviction-assert.mir
    M llvm/test/CodeGen/AMDGPU/inflated-reg-class-snippet-copy-use-after-free.mir
    M llvm/test/CodeGen/AMDGPU/issue48473.mir
    A llvm/test/CodeGen/AMDGPU/register-killed-error-after-alloc-failure0.mir
    A llvm/test/CodeGen/AMDGPU/register-killed-error-after-alloc-failure1.ll
    M llvm/test/CodeGen/AMDGPU/remaining-virtual-register-operands.ll

  Log Message:
  -----------
  Reapply "RegAlloc: Fix verifier error after failed allocation (#119690)"

This reverts commit 0c50054820799578be8f62b6fd2cc3fbc751c01e.

Reapply with more fixes to avoid expensive_checks failures. Make sure to
call splitSeparateComponents after shrinkToUses, and update the VirtRegMap
with the split registers. Also set undef on all physical register aliases to
the assigned register.


  Commit: c4c474923403ea3129dacddfab2489579e614f4f
      https://github.com/llvm/llvm-project/commit/c4c474923403ea3129dacddfab2489579e614f4f
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-02-26 (Wed, 26 Feb 2025)

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

  Log Message:
  -----------
  Move physreg handling. Not sure if necessary


  Commit: 753f4c9fb19281c60e3ca657edb8cc96e760a300
      https://github.com/llvm/llvm-project/commit/753f4c9fb19281c60e3ca657edb8cc96e760a300
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-02-26 (Wed, 26 Feb 2025)

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

  Log Message:
  -----------
  Remove intervals from regunits. Not sure if necessary


Compare: https://github.com/llvm/llvm-project/compare/7319a933eb97...753f4c9fb192

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