diff options
author | Austin Kerbow <Austin.Kerbow@amd.com> | 2023-08-01 17:51:59 -0700 |
---|---|---|
committer | Austin Kerbow <Austin.Kerbow@amd.com> | 2023-09-19 15:45:16 -0700 |
commit | 69447d6afe702dee6bc1dbe17f4915789ad6889d (patch) | |
tree | 153c0e88aec453d1acf9eb354b03db85f09cbb04 /llvm/lib/IR/Module.cpp | |
parent | 30d77fb80857e645b300c8f59cad9414d090e083 (diff) | |
download | llvm-69447d6afe702dee6bc1dbe17f4915789ad6889d.zip llvm-69447d6afe702dee6bc1dbe17f4915789ad6889d.tar.gz llvm-69447d6afe702dee6bc1dbe17f4915789ad6889d.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions