diff options
| author | Maksim Levental <maksim.levental@gmail.com> | 2023-10-31 19:55:42 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-31 19:55:42 -0500 |
| commit | 2ab14dff4355b5b5492214f4a21763be77f0f223 (patch) | |
| tree | de1254e13a76c309dda612b8805c32c6ad3f606a /mlir/test/python/python_test_ops.td | |
| parent | 87f671756dc64bca4ae717479fa84ac49fb77512 (diff) | |
[mlir][python] fix python_test dialect and I32/I64ElementsBuilder (#70871)
This PR fixes the `I32ElementsAttr` and `I64ElementsAttr` builders and
tests them through the `python_test` dialect.
Diffstat (limited to 'mlir/test/python/python_test_ops.td')
| -rw-r--r-- | mlir/test/python/python_test_ops.td | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mlir/test/python/python_test_ops.td b/mlir/test/python/python_test_ops.td index d79714301ae9..95301985e3fd 100644 --- a/mlir/test/python/python_test_ops.td +++ b/mlir/test/python/python_test_ops.td @@ -32,7 +32,9 @@ class TestAttr<string name, string attrMnemonic> } class TestOp<string mnemonic, list<Trait> traits = []> - : Op<Python_Test_Dialect, mnemonic, traits>; + : Op<Python_Test_Dialect, mnemonic, traits> { + let assemblyFormat = "operands attr-dict functional-type(operands, results)"; +} //===----------------------------------------------------------------------===// // Type definitions. |
