[all-commits] [llvm/llvm-project] 166058: [AMDGPU] Update code object metadata for kernarg p...
Austin Kerbow via All-commits
all-commits at lists.llvm.org
Sun Apr 27 11:19:23 PDT 2025
Branch: refs/heads/users/kerbowa/preload-kernarg-metadata
Home: https://github.com/llvm/llvm-project
Commit: 16605894c089280c8951d6b49fc90e806a733d6c
https://github.com/llvm/llvm-project/commit/16605894c089280c8951d6b49fc90e806a733d6c
Author: Austin Kerbow <Austin.Kerbow at amd.com>
Date: 2025-04-25 (Fri, 25 Apr 2025)
Changed paths:
M llvm/include/llvm/Support/AMDGPUMetadata.h
M llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h
M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.h
M llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
A llvm/test/CodeGen/AMDGPU/hsa-metadata-preload-args-v6.ll
M llvm/test/CodeGen/AMDGPU/tid-mul-func-xnack-all-any.ll
M llvm/test/CodeGen/AMDGPU/tid-mul-func-xnack-all-not-supported.ll
M llvm/test/CodeGen/AMDGPU/tid-mul-func-xnack-all-off.ll
M llvm/test/CodeGen/AMDGPU/tid-mul-func-xnack-all-on.ll
M llvm/test/CodeGen/AMDGPU/tid-mul-func-xnack-any-off-1.ll
M llvm/test/CodeGen/AMDGPU/tid-mul-func-xnack-any-off-2.ll
M llvm/test/CodeGen/AMDGPU/tid-mul-func-xnack-any-on-1.ll
M llvm/test/CodeGen/AMDGPU/tid-mul-func-xnack-any-on-2.ll
M llvm/test/CodeGen/AMDGPU/tid-one-func-xnack-not-supported.ll
M llvm/test/CodeGen/AMDGPU/tid-one-func-xnack-off.ll
M llvm/test/CodeGen/AMDGPU/tid-one-func-xnack-on.ll
Log Message:
-----------
[AMDGPU] Update code object metadata for kernarg preload
Tracks the registers that explicit and hidden arguments are preloaded to
with new code object metadata.
IR arguments may be split across multiple parts by isel, and SGPR tuple
alignment means that an argument may be spread across multiple
registers.
To support this, some of the utilities for hidden kernel arguments are
moved to `AMDGPUArgumentUsageInfo.h`. Additional bookkeeping is also
needed for tracking purposes.
Commit: f238c3f6fab90adc7f36c0bc2cc0017330444705
https://github.com/llvm/llvm-project/commit/f238c3f6fab90adc7f36c0bc2cc0017330444705
Author: Austin Kerbow <Austin.Kerbow at amd.com>
Date: 2025-04-27 (Sun, 27 Apr 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h
M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.h
M llvm/test/CodeGen/AMDGPU/hsa-metadata-preload-args-v6.ll
Log Message:
-----------
Add suggested formatting changes, factor out common parts of emitKenrelArg. Update test.
Compare: https://github.com/llvm/llvm-project/compare/62e516888947...f238c3f6fab9
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list