[all-commits] [llvm/llvm-project] ea9cd2: AMDGPU: Delete spills of undef values

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Dec 12 01:51:40 PST 2024


  Branch: refs/heads/users/arsenm/amdgpu-delete-spills-of-undef-values
  Home:   https://github.com/llvm/llvm-project
  Commit: ea9cd242330d6938eb3097192cc6e723b43c01fa
      https://github.com/llvm/llvm-project/commit/ea9cd242330d6938eb3097192cc6e723b43c01fa
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-12-12 (Thu, 12 Dec 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
    M llvm/test/CodeGen/AMDGPU/sgpr-spill-partially-undef.mir
    M llvm/test/CodeGen/AMDGPU/spill-agpr-partially-undef.mir
    M llvm/test/CodeGen/AMDGPU/vgpr-spill.mir

  Log Message:
  -----------
  AMDGPU: Delete spills of undef values

It would be a bit more logical to preserve the undef and do the normal
expansion, but this is less work. This avoids verifier errors in a
future patch which starts deleting liveness from registers after
allocation failures which results in spills of undef values.

https://reviews.llvm.org/D122607


  Commit: 8a05688cca3e32da6e2fe32e847818659881275b
      https://github.com/llvm/llvm-project/commit/8a05688cca3e32da6e2fe32e847818659881275b
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-12-12 (Thu, 12 Dec 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp

  Log Message:
  -----------
  Move where undef sgpr spills are deleted


Compare: https://github.com/llvm/llvm-project/compare/ea9cd242330d%5E...8a05688cca3e

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