[all-commits] [llvm/llvm-project] 69447d: [AMDGPU] Add ASM and MC updates for preloading ker...
    Austin Kerbow via All-commits 
    all-commits at lists.llvm.org
       
    Tue Sep 19 15:47:18 PDT 2023
    
    
  
  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69447d6afe702dee6bc1dbe17f4915789ad6889d
      https://github.com/llvm/llvm-project/commit/69447d6afe702dee6bc1dbe17f4915789ad6889d
  Author: Austin Kerbow <Austin.Kerbow at amd.com>
  Date:   2023-09-19 (Tue, 19 Sep 2023)
  Changed paths:
    M llvm/include/llvm/Support/AMDHSAKernelDescriptor.h
    M llvm/lib/Target/AMDGPU/AMDGPU.td
    M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
    M llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
    M llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.h
    M llvm/lib/Target/AMDGPU/GCNSubtarget.h
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
    M llvm/test/MC/AMDGPU/hsa-gfx90a-v3.s
    M llvm/test/MC/AMDGPU/hsa-gfx940-v3.s
    M llvm/test/MC/AMDGPU/user-sgpr-count-diag.s
    M llvm/test/MC/AMDGPU/user-sgpr-count.s
    M llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-gfx90a.s
  Log Message:
  -----------
  [AMDGPU] Add ASM and MC updates for preloading kernargs
Add assembler directives for preloading kernel arguments that correspond
to new fields in the kernel descriptor for the length and offset of
arguments that will be placed in SGPRs prior to kernel launch. Alignment
of the arguments in SGPRs is equivalent to the kernarg segment when
accessed via the kernarg_segment_ptr. Kernarg SGPRs are allocated
directly after other user SGPRs.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D159459
    
    
More information about the All-commits
mailing list