[all-commits] [llvm/llvm-project] 1c9e62: [AMDGPU] Allow architected SGPRs for workgroup IDs

Christudasan Devadasan via All-commits all-commits at lists.llvm.org
Mon Feb 13 08:44:09 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c9e6238fe2fe27ee9cdb594e4f2bb33bb416e49
      https://github.com/llvm/llvm-project/commit/1c9e6238fe2fe27ee9cdb594e4f2bb33bb416e49
  Author: Christudasan Devadasan <Christudasan.Devadasan at amd.com>
  Date:   2023-02-13 (Mon, 13 Feb 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
    A llvm/test/CodeGen/AMDGPU/workgroup-id-in-arch-sgprs.ll

  Log Message:
  -----------
  [AMDGPU] Allow architected SGPRs for workgroup IDs

Some subtargets use architected SGPRs for workgroup
IDs instead of the regular SGPRs. This patch enables
the support for the same and is guarded under the
subtarget feature FeatureArchitectedSGPRs.

Reviewed By: foad

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




More information about the All-commits mailing list