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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sun Dec 15 17:59:52 PST 2024


  Branch: refs/heads/users/arsenm/amdgpu-delete-spills-of-undef-values
  Home:   https://github.com/llvm/llvm-project
  Commit: 69aa81bb9763c092605e9445f61657314f8c390d
      https://github.com/llvm/llvm-project/commit/69aa81bb9763c092605e9445f61657314f8c390d
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-12-16 (Mon, 16 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: 62956df9c3aadd057dcccff36321070209a2946d
      https://github.com/llvm/llvm-project/commit/62956df9c3aadd057dcccff36321070209a2946d
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-12-16 (Mon, 16 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/08b4cd552a6e...62956df9c3aa

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