[Mlir-commits] [mlir] [mlir][python] python binding wrapper for the affine.AffineForOp (PR #74408)
Maksim Levental
llvmlistbot at llvm.org
Tue Dec 5 08:44:10 PST 2023
================
@@ -3,3 +3,141 @@
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
from ._affine_ops_gen import *
+from ._affine_ops_gen import _Dialect, AffineForOp
----------------
makslevental wrote:
I think explicitly importing names used in the file is not a bad thing. I also think this is the natural result of essentially treating these files as `__init__.py`s for modules that don't exist structurally (i.e., it should be `affine/__init__.py`) _and_ as implementation files as well. Anyway I'll take it out.
https://github.com/llvm/llvm-project/pull/74408
More information about the Mlir-commits
mailing list