[Mlir-commits] [mlir] [mlir][python] Reland - Add sugared builder for transform.named_sequence (PR #71642)

Nicolas Vasilache llvmlistbot at llvm.org
Wed Nov 8 01:20:52 PST 2023


================
@@ -10,13 +10,13 @@ def run(f):
         module = Module.create()
         with InsertionPoint(module.body):
             print("\nTEST:", f.__name__)
-            f()
+            f(module)
----------------
nicolasvasilache wrote:

@ftynse re module thing, I pondered but didn't want to pollute all modules with the extra unnecessary attribute.
If you have a strong preference I can update

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


More information about the Mlir-commits mailing list