[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:27 PDT 2025
================
@@ -1,5 +1,5 @@
-; 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:
I suppose you added Vulkan for the `Private` storage class.
Seems ok to change this one, but should be changed to `-mtriple=spirv-unknown-vulkan-compute`, not `spirv64`.
https://github.com/llvm/llvm-project/pull/149522
More information about the llvm-commits
mailing list