Unverified Commit 82f3cbc8 authored by Sergei Lebedev's avatar Sergei Lebedev Committed by GitHub
Browse files

[MLIR][Python] Added a base class to all builtin floating point types (#81720)

This allows to

* check if a given ir.Type is a floating point type via isinstance() or
issubclass()
* get the bitwidth of a floating point type

See motivation and discussion in
https://discourse.llvm.org/t/add-floattype-to-mlir-python-bindings/76959.
parent 0c8b5942
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment