summaryrefslogtreecommitdiff
path: root/mlir/test/python/python_test_ops.td
diff options
context:
space:
mode:
authorMaksim Levental <maksim.levental@gmail.com>2024-07-05 10:43:51 -0500
committerGitHub <noreply@github.com>2024-07-05 10:43:51 -0500
commit9315645834ea81cf9550364a4950f289e9706a26 (patch)
tree9e2b957f38e28514e8afc6dd7ba383e7930501d3 /mlir/test/python/python_test_ops.td
parent3bb25636414ee5b5eaf99c0bdcc191052c9d7ffb (diff)
[mlir][python] auto attribute casting (#97786)
Diffstat (limited to 'mlir/test/python/python_test_ops.td')
-rw-r--r--mlir/test/python/python_test_ops.td4
1 files changed, 4 insertions, 0 deletions
diff --git a/mlir/test/python/python_test_ops.td b/mlir/test/python/python_test_ops.td
index c0bc18448610..6211fb9987c7 100644
--- a/mlir/test/python/python_test_ops.td
+++ b/mlir/test/python/python_test_ops.td
@@ -58,6 +58,10 @@ def AttributedOp : TestOp<"attributed_op"> {
UnitAttr:$unit);
}
+def CustomAttributedOp : TestOp<"custom_attributed_op"> {
+ let arguments = (ins TestAttr:$test_attr);
+}
+
def AttributesOp : TestOp<"attributes_op"> {
let arguments = (ins
AffineMapArrayAttr:$x_affinemaparr,