[all-commits] [llvm/llvm-project] e03fdd: [AMDGPU] Update code object metadata for kernarg p...
Austin Kerbow via All-commits
all-commits at lists.llvm.org
Tue Jun 17 22:18:43 PDT 2025
Branch: refs/heads/users/kerbowa/preload-kernarg-metadata
Home: https://github.com/llvm/llvm-project
Commit: e03fdd5217985508e81594d8b5f8244e4f344c5b
https://github.com/llvm/llvm-project/commit/e03fdd5217985508e81594d8b5f8244e4f344c5b
Author: Austin Kerbow <Austin.Kerbow at amd.com>
Date: 2025-06-17 (Tue, 17 Jun 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: 6bddb1a3bf3a21235b5d0bc0616184ad3f97ef16
https://github.com/llvm/llvm-project/commit/6bddb1a3bf3a21235b5d0bc0616184ad3f97ef16
Author: Austin Kerbow <Austin.Kerbow at amd.com>
Date: 2025-06-17 (Tue, 17 Jun 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.
Commit: 1c92b3297c9a7330d7f3659168d121bce81064e9
https://github.com/llvm/llvm-project/commit/1c92b3297c9a7330d7f3659168d121bce81064e9
Author: Austin Kerbow <Austin.Kerbow at amd.com>
Date: 2025-06-17 (Tue, 17 Jun 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.h
Log Message:
-----------
Factor common emit hidden kernel args metadata.
Commit: a2e299e1f7b3563eebc926eff7b4cb332b78273e
https://github.com/llvm/llvm-project/commit/a2e299e1f7b3563eebc926eff7b4cb332b78273e
Author: Austin Kerbow <Austin.Kerbow at amd.com>
Date: 2025-06-17 (Tue, 17 Jun 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h
M llvm/lib/Target/AMDGPU/AMDGPUPreloadKernelArguments.cpp
Log Message:
-----------
Rebase on changes to move preloading lowering to its own pass.
Compare: https://github.com/llvm/llvm-project/compare/4f197a1c2eb5...a2e299e1f7b3
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