[all-commits] [llvm/llvm-project] 0b40f9: AMDGPU: Treat uint32_max as the default value for ...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Nov 5 12:51:09 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b40f979298a2e7d4c3da7c067fc9747d0f93653
      https://github.com/llvm/llvm-project/commit/0b40f979298a2e7d4c3da7c067fc9747d0f93653
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-11-05 (Tue, 05 Nov 2024)

  Changed paths:
    M llvm/docs/AMDGPUUsage.rst
    M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
    A llvm/test/CodeGen/AMDGPU/attr-amdgpu-max-num-workgroups.ll
    R llvm/test/CodeGen/AMDGPU/attr-amdgpu-num-workgroups.ll

  Log Message:
  -----------
  AMDGPU: Treat uint32_max as the default value for amdgpu-max-num-workgroups (#113751)

0 does not make sense as a value for this to be, much less the default.
Also stop emitting each individual field if it is the default, rather than
if any element was the default. Also fix the name of the test since it didn't
exactly match the real attribute name.



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