[Mlir-commits] [mlir] [mlir][spirv] Add support for structs decorations (PR #149793)
Jakub Kuderski
llvmlistbot at llvm.org
Mon Jul 21 07:49:44 PDT 2025
================
@@ -327,10 +327,33 @@ class StructType
}
};
+ // Type for specifying the decoration(s) on the struct itself
+ struct StructDecorationInfo {
+ bool hasValue;
----------------
kuhar wrote:
Can you add a comment explaining what `hasValue` means? For example, it's not clear if this is for `decorationValue` only or for the whole struct. If it's the former, could we rely on `decorationValue` being null or not?
https://github.com/llvm/llvm-project/pull/149793
More information about the Mlir-commits
mailing list