[all-commits] [llvm/llvm-project] 2d9f35: [AMDGPU] Consolidate SGPRSpill and VGPRSpill into ...

Corbin Robeck via All-commits all-commits at lists.llvm.org
Fri Feb 16 10:33:10 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d9f3504491156282a3c785a562fcc0ba3c16161
      https://github.com/llvm/llvm-project/commit/2d9f3504491156282a3c785a562fcc0ba3c16161
  Author: Corbin Robeck <corbin.robeck at amd.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIDefines.h
    M llvm/lib/Target/AMDGPU/SIInstrFormats.td
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.h
    M llvm/lib/Target/AMDGPU/SIInstructions.td

  Log Message:
  -----------
  [AMDGPU] Consolidate SGPRSpill and VGPRSpill into single Spill bit (#81901)

Follow on to #81525 in the series of consolidating bits in TSFlags.

Merge SGPRSpill and VGPRSpill into single Spill bit

Modify isSGPRSpill and isVGPRSpill helper functions to differentiate
VGPR and SGPR spills:

Spill+SALU=SGPR Spill
Spill+VALU=VGPR Spill

The only exception here is SGPR spills to VGPRs which require an
explicit instruction check.



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