[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 09:09:12 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:

Done, added main with hlsl.shader="compute" to avoid that

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


More information about the llvm-commits mailing list