[llvm] [mlir] [mlir][python] Fix generation of Python bindings for `async` dialect (PR #75960)

Oleksandr Alex Zinenko via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 22 00:53:32 PDT 2024


================
@@ -331,6 +331,53 @@ filegroup(
     ],
 )
 
+##---------------------------------------------------------------------------##
+# Async dialect.
+##---------------------------------------------------------------------------##
+
+gentbl_filegroup(
+    name = "AsyncOpsPyGen",
+    tbl_outs = [
+        (
+            [
+                "-gen-python-enum-bindings",
+                "-bind-dialect=async",
+            ],
+            "mlir/dialects/_async_enum_gen.py",
----------------
ftynse wrote:

Why do we have this part? I don't see a CMake counterpart, and I don't see where this file is included.

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


More information about the llvm-commits mailing list