[llvm] [SPIRV] Do not use OpTypeRuntimeArray in Kernel env. (PR #149522)

Marcos Maronas via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 30 00:59:01 PDT 2025


================
@@ -1,14 +1,15 @@
-; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
+; RUN: llc -O0 -mtriple=spirv32-unknown-vulkan %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
----------------
maarquitos14 wrote:

Same as earlier, I don't think it's wrong, the spec doesn't prevent it, although _de facto_ we identify physical with OpenCL and logical with Vulkan. Like I said for the previous `OpBitReverse` test, there are two options and I'm happy with either. Let me know which one you prefer.

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


More information about the llvm-commits mailing list