[Mlir-commits] [mlir] [mlir] NFC: add missing 'FloatType' to core Python stub file (PR #105554)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Aug 21 10:19:53 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Christopher Bate (christopherbate)

<details>
<summary>Changes</summary>


The stub class for `FloatType` is present in `ir.pyi`, but it is missing from the `__all__` export list. 

---
Full diff: https://github.com/llvm/llvm-project/pull/105554.diff


1 Files Affected:

- (modified) mlir/python/mlir/_mlir_libs/_mlir/ir.pyi (+1) 


``````````diff
diff --git a/mlir/python/mlir/_mlir_libs/_mlir/ir.pyi b/mlir/python/mlir/_mlir_libs/_mlir/ir.pyi
index e3599d3c84ffed..4a2d0e977ccf26 100644
--- a/mlir/python/mlir/_mlir_libs/_mlir/ir.pyi
+++ b/mlir/python/mlir/_mlir_libs/_mlir/ir.pyi
@@ -129,6 +129,7 @@ __all__ = [
     "Float8E5M2Type",
     "FloatAttr",
     "FloatTF32Type",
+    "FloatType",
     "FunctionType",
     "IndexType",
     "InferShapedTypeOpInterface",

``````````

</details>


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


More information about the Mlir-commits mailing list