[all-commits] [llvm/llvm-project] 8bad80: [AMDGPU] Do not reserve 16-bit registers

Jay Foad via All-commits all-commits at lists.llvm.org
Fri Mar 31 06:56:45 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8bad806f298c4ddc476c708ece0664e21924ba41
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2023-03-31 (Fri, 31 Mar 2023)

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

  Log Message:
  [AMDGPU] Do not reserve 16-bit registers

There should be no need to reserve all SGPR hi16/lo16 halves, or all
AGPR hi16 halves. This should be done by marking the corresponding
register classes as not allocatable instead.

Differential Revision: https://reviews.llvm.org/D147158

More information about the All-commits mailing list