[llvm] [HLSL][SPIRV] Codegen unbound array as OpTypeRuntimeArray (PR #185551)

Steven Perron via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 10 10:12:29 PDT 2026


=?utf-8?q?João?= Saffran <joaosaffranllvm at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/185551 at github.com>


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

We use 0 to represent an unbounded array. See the code below this. Is there a reason we cannot do that?

Also you need to add a test that shows how you get this case.

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


More information about the llvm-commits mailing list