[Mlir-commits] [mlir] [mlir][python] python binding wrapper for the affine.AffineForOp (PR #74408)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Tue Dec 5 02:00:01 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
----------------
ftynse wrote:

Nit: why do we need to import `AffineForOp` if we import `*` above?  (This is different for `_Dialect` that is private due to underscore in the name and is therefore not imported as part of `*`.)

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


More information about the Mlir-commits mailing list