[llvm-branch-commits] [llvm] [SPIRV][SPIRVPrepareGlobals] Map AMD's dynamic LDS 0-element globals to arrays with UINT32_MAX elements (PR #166952)

Steven Perron via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Nov 10 06:56:43 PST 2025


Juan Manuel Martinez =?utf-8?q?CaamaƱo?Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/166952 at github.com>


https://github.com/s-perron commented:

I'm wondering if you need to change all 0-sized array or not. If so, we might want to centralize the conversion of 0-sized arrays. We could try to move the code that changes them to 1 element arrays here as well.

I can look into changes HLSL use of zero-sized arrays if needed.

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


More information about the llvm-branch-commits mailing list