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

Nathan Gauër via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 29 09:43:25 PDT 2025


================
@@ -1,17 +1,19 @@
-; RUN: llc -verify-machineinstrs -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s
-; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv64-unknown-unknown %s -o - -filetype=obj | spirv-val %}
+; RUN: llc -verify-machineinstrs -O0 -mtriple=spirv64-unknown-vulkan %s -o - | FileCheck %s
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv64-unknown-vulkan %s -o - -filetype=obj | spirv-val %}
----------------
Keenuts wrote:

Looks like this mistake is on me. Could you change this to:
`-mtriple=spirv-unknown-vulkan` instead? (Physical + vulkan is weird)

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


More information about the llvm-commits mailing list