[llvm] [AMDGPU] Enable serializing of allocated preload kernarg SGPRs info (PR #168374)

Quentin Colombet via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 20 02:51:51 PST 2025


================
@@ -0,0 +1,254 @@
+; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx950 -stop-after=amdgpu-isel %s -o - | FileCheck --check-prefix=MIR %s
+; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx950 -stop-after=amdgpu-isel -o %t.mir %s
+; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx950 -start-after=amdgpu-isel -verify-machineinstrs %t.mir -o - | FileCheck --check-prefix=ASM %s
+
+; Test that kernarg preloading information is correctly serialized to MIR and
+; can be round-tripped through MIR serialization/deserialization.
----------------
qcolombet wrote:

👍

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


More information about the llvm-commits mailing list