[llvm] [SPIR-V] Fix ArrayStride truncation to 0 for sub-byte element types (PR #207140)

Arseniy Obolenskiy via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 6 05:22:42 PDT 2026


================
@@ -0,0 +1,15 @@
+; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv1.6-vulkan1.3-library < %s | FileCheck %s
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv1.6-vulkan1.3-library -filetype=obj < %s | spirv-val %}
----------------
aobolensk wrote:

But... spirv 1.6 target-env can be provided for spirv-val without any problem, but I'm not sure it is really needed 

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


More information about the llvm-commits mailing list