[llvm] [SPIR-V] Handle undef aggregate initializers for global variables (PR #186785)

Arseniy Obolenskiy via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 16 09:04:21 PDT 2026


================
@@ -0,0 +1,48 @@
+; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv32-unknown-unknown %s -o - -filetype=obj | spirv-val %}
+
+target datalayout = "e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024"
+target triple = "spir"
----------------
aobolensk wrote:

Removed as well

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


More information about the llvm-commits mailing list