[all-commits] [llvm/llvm-project] 7fff93: [AMDGPU] Set GRANULATED_WAVEFRONT_SGPR_COUNT of co...

Shoreshen via All-commits all-commits at lists.llvm.org
Tue Aug 26 18:49:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7fff93db50bad40548fa08895844629f1d40e715
      https://github.com/llvm/llvm-project/commit/7fff93db50bad40548fa08895844629f1d40e715
  Author: Shoreshen <372660931 at qq.com>
  Date:   2025-08-27 (Wed, 27 Aug 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.ll
    A llvm/test/CodeGen/AMDGPU/gfx10plus-wavefront-sgpr-count.ll

  Log Message:
  -----------
  [AMDGPU] Set GRANULATED_WAVEFRONT_SGPR_COUNT of compute_pgm_rsrc1 to 0 for gfx10+ (#154666)

According to `llvm-project/llvm/docs/AMDGPUUsage.rst::L5212` the
`GRANULATED_WAVEFRONT_SGPR_COUNT`, which is `compute_pgm_rsrc1[6:9]` has
to be 0 for gfx10+ arch

---------

Co-authored-by: Matt Arsenault <Matthew.Arsenault at amd.com>



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