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

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


  Branch: refs/heads/users/arsenm/amdgpu-default-val-amdgpu-max-num-workgroups
  Home:   https://github.com/llvm/llvm-project
  Commit: f0deae2ce8f1e0c7af64998e02cdc3e6d423d8cc
      https://github.com/llvm/llvm-project/commit/f0deae2ce8f1e0c7af64998e02cdc3e6d423d8cc
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-11-05 (Tue, 05 Nov 2024)

  Changed paths:
    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

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.


  Commit: e15235f8d3a73fad1276c0b8fe3794a4d2e0fffa
      https://github.com/llvm/llvm-project/commit/e15235f8d3a73fad1276c0b8fe3794a4d2e0fffa
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-11-05 (Tue, 05 Nov 2024)

  Changed paths:
    M llvm/docs/AMDGPUUsage.rst

  Log Message:
  -----------
  Update attr documentation


  Commit: fada8cace211efbb688c0ed1ee09e9fc1db9d6a6
      https://github.com/llvm/llvm-project/commit/fada8cace211efbb688c0ed1ee09e9fc1db9d6a6
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-11-05 (Tue, 05 Nov 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
    M llvm/test/CodeGen/AMDGPU/attr-amdgpu-max-num-workgroups.ll

  Log Message:
  -----------
  Avoid invalid 0 case


Compare: https://github.com/llvm/llvm-project/compare/ae52e0dc549e...fada8cace211

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