[all-commits] [llvm/llvm-project] a1e17f: [AMDGPU] Update code object metadata for kernarg p...
Austin Kerbow via All-commits
all-commits at lists.llvm.org
Sat Jul 26 18:21:07 PDT 2025
Branch: refs/heads/users/kerbowa/preload-kernarg-metadata
Home: https://github.com/llvm/llvm-project
Commit: a1e17fe635fba237904b63e1ba1ce46fa27dedaf
https://github.com/llvm/llvm-project/commit/a1e17fe635fba237904b63e1ba1ce46fa27dedaf
Author: Austin Kerbow <Austin.Kerbow at amd.com>
Date: 2025-07-26 (Sat, 26 Jul 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: cd8b53e484f8c124e4161c41098f07b720c6ab6f
https://github.com/llvm/llvm-project/commit/cd8b53e484f8c124e4161c41098f07b720c6ab6f
Author: Austin Kerbow <Austin.Kerbow at amd.com>
Date: 2025-07-26 (Sat, 26 Jul 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: aacbab6d6ac1589b8c5700747d4676369a49d5b6
https://github.com/llvm/llvm-project/commit/aacbab6d6ac1589b8c5700747d4676369a49d5b6
Author: Austin Kerbow <Austin.Kerbow at amd.com>
Date: 2025-07-26 (Sat, 26 Jul 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: d6d9c7adbf8bde9f3342f6b036a898488693f642
https://github.com/llvm/llvm-project/commit/d6d9c7adbf8bde9f3342f6b036a898488693f642
Author: Austin Kerbow <Austin.Kerbow at amd.com>
Date: 2025-07-26 (Sat, 26 Jul 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.
Commit: 66d4141655dbcd7342b35041789626f9b7cced69
https://github.com/llvm/llvm-project/commit/66d4141655dbcd7342b35041789626f9b7cced69
Author: Austin Kerbow <Austin.Kerbow at amd.com>
Date: 2025-07-26 (Sat, 26 Jul 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h
M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
Log Message:
-----------
Rebase and address review comments.
Compare: https://github.com/llvm/llvm-project/compare/36f2865e8299...66d4141655db
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