[llvm] [AMDGPU] Split struct kernel arguments (PR #133786)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 9 07:40:04 PDT 2025


================
@@ -409,6 +430,12 @@ void MetadataStreamerMsgPackV4::emitKernelArg(
       Arg[".is_pipe"] = Arg.getDocument()->getNode(true);
   }
 
+  // Add original argument index and offset to the metadata
+  if (OriginalArgIndex != ~0U) {
+    Arg[".original_arg_index"] = Arg.getDocument()->getNode(OriginalArgIndex);
----------------
shiltian wrote:

Honestly, I agree with @arsenm that this is indeed an ABI breaking change, even though the ABI change seems to be transparent to end users.

https://github.com/llvm/llvm-project/pull/133786


More information about the llvm-commits mailing list