[all-commits] [llvm/llvm-project] 9fa462: [AMDGPU] Add `.workgroup_processor_mode` to v5 MD

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Tue Dec 13 07:45:11 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9fa46200ea2f77cb3db2590f4268a8fdbc3882c5
      https://github.com/llvm/llvm-project/commit/9fa46200ea2f77cb3db2590f4268a8fdbc3882c5
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2022-12-13 (Tue, 13 Dec 2022)

  Changed paths:
    M llvm/docs/AMDGPUUsage.rst
    M llvm/lib/BinaryFormat/AMDGPUMetadataVerifier.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
    M llvm/lib/Target/AMDGPU/GCNSubtarget.h
    A llvm/test/CodeGen/AMDGPU/hsa-metadata-workgroup-processor-mode-v5.ll

  Log Message:
  -----------
  [AMDGPU] Add `.workgroup_processor_mode` to v5 MD

Adds Workgroup Processor Mode (WGP) to the HSA Metadata for Code Object v5/GFX10+.
The field is already present as an asm directive and in the compute program resource register but is also needed in the MD.

Reviewed By: kzhuravl

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




More information about the All-commits mailing list