[llvm] [SPIR-V] Deduce pointee type for all global variables, not only initialized ones (PR #202047)

Dmitry Sidorov via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 11 06:42:26 PDT 2026


================
@@ -0,0 +1,37 @@
+; A global variable's pointee type is concrete (its value type) and must be used
+; even for an undef-initialized, NON-constant aggregate — e.g. a Workgroup
----------------
MrSidims wrote:

lets avoid non-ascii symbols.
```suggestion
; even for an undef-initialized, NON-constant aggregate - e.g. a Workgroup
```

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


More information about the llvm-commits mailing list