[all-commits] [llvm/llvm-project] 2d39f5: [AMDGPU] Allow use of TTMP registers in AMDGPUReso...

Jay Foad via All-commits all-commits at lists.llvm.org
Thu Apr 13 08:59:47 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d39f5b5cdcb87fe968001586ab7949939099cfe
      https://github.com/llvm/llvm-project/commit/2d39f5b5cdcb87fe968001586ab7949939099cfe
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2023-04-13 (Thu, 13 Apr 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUResourceUsageAnalysis.cpp
    M llvm/test/CodeGen/AMDGPU/lower-work-group-id-intrinsics.ll

  Log Message:
  -----------
  [AMDGPU] Allow use of TTMP registers in AMDGPUResourceUsageAnalysis

With architected SGPRs, workgroup IDs are passed into a compute shader
in TTMP registers. Allow for this in AMDGPUResourceUsageAnalysis instead
of failing an assertion.

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




More information about the All-commits mailing list