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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sat Feb 22 21:16:33 PST 2025


  Branch: refs/heads/users/arsenm/reapply-regalloc-fix-verifier-error-after-fail-pr119690
  Home:   https://github.com/llvm/llvm-project
  Commit: c8e70d9b94b799014f41264f67c3dd298c0e42e5
      https://github.com/llvm/llvm-project/commit/c8e70d9b94b799014f41264f67c3dd298c0e42e5
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-02-23 (Sun, 23 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: 3fab6f82eabeccce1ce60123f645a54fa9074cc8
      https://github.com/llvm/llvm-project/commit/3fab6f82eabeccce1ce60123f645a54fa9074cc8
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-02-23 (Sun, 23 Feb 2025)

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

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


  Commit: a8b8cafcb1c5e252e23a1626a44eed4e4ef89316
      https://github.com/llvm/llvm-project/commit/a8b8cafcb1c5e252e23a1626a44eed4e4ef89316
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-02-23 (Sun, 23 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/c8e70d9b94b7%5E...a8b8cafcb1c5

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