[all-commits] [llvm/llvm-project] 60a227: [AMDGPU] Use inreg for hint to preload kernel argu...

Austin Kerbow via All-commits all-commits at lists.llvm.org
Tue Sep 19 15:14:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 60a227c464a19a00a76d19b5bc75e0e4d5c89873
      https://github.com/llvm/llvm-project/commit/60a227c464a19a00a76d19b5bc75e0e4d5c89873
  Author: Austin Kerbow <Austin.Kerbow at amd.com>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
    A llvm/test/CodeGen/AMDGPU/preload-kernargs-inreg-hints.ll

  Log Message:
  -----------
  [AMDGPU] Use inreg for hint to preload kernel arguments

This patch is the first in a series that adds support for pre-loading
kernel arguments into SGPRs. The command-line argument
'amdgpu-kernarg-preload-count' is used to specify the number of
arguments sequentially from the first that we should attempt to preload,
the default is 0.

Reviewed By: arsenm

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




More information about the All-commits mailing list