[llvm] [AMDGPU] Fix hidden kernarg preload count inconsistency (PR #116759)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 13:56:04 PST 2024


================
@@ -1692,11 +1694,12 @@ class GCNUserSGPRUsageInfo {
     KernargSegmentPtrID = 4,
     DispatchIdID = 5,
     FlatScratchInitID = 6,
-    PrivateSegmentSizeID = 7
+    PrivateSegmentSizeID = 7,
+    LDSKernelIdID = 8
----------------
arsenm wrote:

Comment this isn't really a user SGPR? Maybe should rename the enum 

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


More information about the llvm-commits mailing list