[Mlir-commits] [mlir] [mlir][LLVM] handle ArrayAttr for constant array of structs (PR #139724)

Tobias Gysi llvmlistbot at llvm.org
Wed May 14 13:29:32 PDT 2025


================
@@ -3142,6 +3142,72 @@ static bool hasScalableVectorType(Type t) {
   return false;
 }
 
+/// Verified helper for array of struct constants.
----------------
gysit wrote:

```suggestion
/// Verifies the constant array represented by `arrayAttr` matches the provided `arrayType`.
```
nit: 

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


More information about the Mlir-commits mailing list