[Mlir-commits] [mlir] [MLIR] Add support for IntArrayProp<I32Prop>	(PR #146685)
    Oleksandr Alex Zinenko 
    llvmlistbot at llvm.org
       
    Sat Jul  5 01:40:40 PDT 2025
    
    
  
================
@@ -3179,13 +3179,15 @@ def TestOpWithProperties : TEST_Op<"with_properties"> {
     `b` `=` $b `,`
     `c` `=` $c `,`
     `flag` `=` $flag `,`
-    `array` `=` $array attr-dict}];
+    `array` `=` $array `,`
+    `array32` `=` $array32 attr-dict}];
   let arguments = (ins
     I64Prop:$a,
     StrAttr:$b, // Attributes can directly be used here.
     StringProp:$c,
     BoolProp:$flag,
-    IntArrayProp<I64Prop>:$array // example of an array
+    IntArrayProp<I64Prop>:$array, // example of an array
+    IntArrayProp<I32Prop>:$array32 // example of an array
----------------
ftynse wrote:
```suggestion
    IntArrayProp<I64Prop>:$array, // Example of an array.
    IntArrayProp<I32Prop>:$array32 // Example of an array.
```
https://github.com/llvm/llvm-project/pull/146685
    
    
More information about the Mlir-commits
mailing list