[PATCH] D156852: [AMDGPU] Use inreg for hint to preload kernel arguments

Austin Kerbow via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 1 23:11:27 PDT 2023


kerbowa created this revision.
kerbowa added reviewers: arsenm, rampitec.
Herald added subscribers: foad, okura, kuter, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
kerbowa requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: sstefan1.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D156852

Files:
  llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
  llvm/test/CodeGen/AMDGPU/preload-kernal-args-inreg-hints.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156852.546325.patch
Type: text/x-patch
Size: 14509 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230802/a1c51dde/attachment.bin>


More information about the llvm-commits mailing list