[Mlir-commits] [mlir] [mlir-python] Emit only dialect `EnumAttr` registrations. (PR #117918)

Maksim Levental llvmlistbot at llvm.org
Mon Dec 2 17:46:25 PST 2024


https://github.com/makslevental updated https://github.com/llvm/llvm-project/pull/117918

>From de851b0b368caa707c498a66e854cdf6d3dda601 Mon Sep 17 00:00:00 2001
From: Maksim Levental <maksim.levental at gmail.com>
Date: Mon, 2 Dec 2024 20:45:57 -0500
Subject: [PATCH] show failing case

---
 mlir/test/python/dialects/affine.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/mlir/test/python/dialects/affine.py b/mlir/test/python/dialects/affine.py
index 7ef128c1724c4a..a944852a8b55f8 100644
--- a/mlir/test/python/dialects/affine.py
+++ b/mlir/test/python/dialects/affine.py
@@ -333,3 +333,8 @@ def simple_affine_if_else(cond_operands):
             affine.AffineYieldOp([x_false, y_false])
         add = arith.AddIOp(if_op.results[0], if_op.results[1])
         return
+
+
+ at constructAndPrintInModule
+def test_double_AtomicRMWKindAttr_registration():
+    from mlir.dialects import _affine_enum_gen



More information about the Mlir-commits mailing list