[llvm] [SPIRV] Support selection of G_CONCAT_VECTORS (PR #201686)

Nick Sarnie via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 9 07:10:25 PDT 2026


================
@@ -0,0 +1,25 @@
+; RUN: llc -O0 -global-isel -verify-machineinstrs -mtriple=spirv64 %s -o - | FileCheck %s
+; spirv-val errors about a 7 element vector.
+; TODO: %if spirv-tools %{ llc -O0 -mtriple=spirv64 < %s -o - -filetype=obj | spirv-val %}
----------------
sarnex wrote:

Ah that makes sense. To be honest I couldn't even find in the spec where the limitation was set, [this](https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#OpTypeVector) seems to be unbounded

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


More information about the llvm-commits mailing list