[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:07 PST 2024


================
@@ -1676,11 +1676,13 @@ class GCNUserSGPRUsageInfo {
 
   bool hasPrivateSegmentSize() const { return PrivateSegmentSize; }
 
+  bool hasLDSKernelId() const { return LDSKernelId; }
----------------
arsenm wrote:

I don't know why this is defined in GCNSubtarget.h, it's not related to the subtarget

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


More information about the llvm-commits mailing list