[llvm] [SPIRV] Add explicit layout (PR #135789)

Nathan Gauër via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 16 06:59:14 PDT 2025


================
@@ -25,6 +25,43 @@
 
 using namespace llvm;
 
+static bool typesAreLogicallyCompatible(const SPIRVType *Ty1,
+                                        const SPIRVType *Ty2,
+                                        SPIRVGlobalRegistry &GR) {
+  if (Ty1 == Ty2) {
----------------
Keenuts wrote:

Does 2 OpRuntimeArray are considered to match?

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


More information about the llvm-commits mailing list